Skip to content

Commit 625819e

Browse files
committed
updated tests
1 parent ce0ed25 commit 625819e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/integration/fixtures/test_connect.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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
2416
def 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)

0 commit comments

Comments
 (0)