File tree 1 file changed +1
-9
lines changed
tests/integration/fixtures
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,6 @@ def serverless_env():
12
12
os .environ .pop ('DATABRICKS_SERVERLESS_COMPUTE_ID' )
13
13
14
14
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
-
23
15
@fixture
24
16
def spark_serverless_cluster_id (ws ):
25
17
# get new spark session with serverless cluster outside the actual spark fixture under test
@@ -31,7 +23,7 @@ def spark_serverless_cluster_id(ws):
31
23
spark_serverless .stop ()
32
24
33
25
34
- def test_databricks_connect (debug_env_bugfix , ws , spark ):
26
+ def test_databricks_connect (ws , spark ):
35
27
rows = spark .sql ("SELECT 1" ).collect ()
36
28
assert rows [0 ][0 ] == 1
37
29
assert not is_serverless_cluster (spark , ws )
You can’t perform that action at this time.
0 commit comments