Skip to content

Commit 3242654

Browse files
committed
apply temporary fix for ANACONDA optional component
1 parent 9561f35 commit 3242654

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data-science-onramp/data-ingestion/setup_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"worker_config": {"num_instances": 6, "machine_type_uri": "n1-standard-8"},
4141
"software_config": {
4242
"image_version": CLUSTER_IMAGE,
43-
"optional_components": ["ANACONDA"],
43+
"optional_components": [5],
4444
},
4545
},
4646
}
@@ -58,7 +58,7 @@
5858
def setup_and_teardown_cluster():
5959
# Create cluster using cluster client
6060
cluster_client = dataproc.ClusterControllerClient(
61-
#client_options={"api_endpoint": f"{CLUSTER_REGION}-dataproc.googleapis.com:443"}
61+
client_options={"api_endpoint": f"{CLUSTER_REGION}-dataproc.googleapis.com:443"}
6262
)
6363

6464
operation = cluster_client.create_cluster(
@@ -72,7 +72,7 @@ def setup_and_teardown_cluster():
7272

7373
# Delete cluster
7474
operation = cluster_client.delete_cluster(
75-
project_id=PROJECT_ID, region=CLUSTER_REGION, name=DATAPROC_CLUSTER
75+
project_id=PROJECT_ID, region=CLUSTER_REGION, cluster_name=DATAPROC_CLUSTER
7676
)
7777
operation.result()
7878

0 commit comments

Comments
 (0)