Skip to content

Commit 687606e

Browse files
committed
Fixed the failing test by adding scs_conf to the keys list
1 parent fc2ff8c commit 687606e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/spark_config_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,8 @@ def test_leaders_get_spark_conf_kubernetes(
13331333
list(mock_append_spark_prometheus_conf.return_value.keys()) +
13341334
list(mock_append_event_log_conf.return_value.keys()) +
13351335
list(mock_append_aws_credentials_conf.return_value.keys()) +
1336-
list(mock_append_sql_partitions_conf.return_value.keys()),
1336+
list(mock_append_sql_partitions_conf.return_value.keys()) +
1337+
['scs_conf'], # services config key
13371338
)
13381339
assert set(output.keys()) == verified_keys
13391340
mock_adjust_spark_requested_resources_kubernetes.mocker.assert_called_once_with(
@@ -1464,7 +1465,8 @@ def test_local_spark(
14641465
list(mock_adjust_spark_requested_resources_kubernetes.return_value.keys()) +
14651466
list(mock_get_dra_configs.return_value.keys()) +
14661467
list(mock_append_aws_credentials_conf.return_value.keys()) +
1467-
list(mock_append_sql_partitions_conf.return_value.keys()),
1468+
list(mock_append_sql_partitions_conf.return_value.keys()) +
1469+
['scs_conf'], # services config key
14681470
)
14691471
assert set(output.keys()) == verified_keys
14701472
mock_append_event_log_conf.mocker.assert_called_once_with(

0 commit comments

Comments
 (0)