File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
tests/integration/fixtures Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,6 @@ def serverless_env():
1212 os .environ .pop ('DATABRICKS_SERVERLESS_COMPUTE_ID' )
1313
1414
15- # @fixture
16- # def debug_env_bugfix(monkeypatch, debug_env):
17- # # This is a workaround to set shared cluster
18- # debug_env
19- # # TODO: Update secret vault for acceptance testing and remove the bugfix
20- # monkeypatch.setitem(debug_env, "DATABRICKS_CLUSTER_ID", "1114-152544-29g1w07e")
21-
22-
2315@fixture
2416def spark_serverless_cluster_id (ws ):
2517 # get new spark session with serverless cluster outside the actual spark fixture under test
@@ -31,7 +23,7 @@ def spark_serverless_cluster_id(ws):
3123 spark_serverless .stop ()
3224
3325
34- def test_databricks_connect (debug_env_bugfix , ws , spark ):
26+ def test_databricks_connect (ws , spark ):
3527 rows = spark .sql ("SELECT 1" ).collect ()
3628 assert rows [0 ][0 ] == 1
3729 assert not is_serverless_cluster (spark , ws )
You can’t perform that action at this time.
0 commit comments