Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit f4a0d7d

Browse files
committed
service_options was being used before being set.
1 parent 23ec02a commit f4a0d7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scale-tests/deploy-dispatchers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ def install_package(
192192

193193
service_account_info = scale_tests_utils.setup_security(service_name, linux_user)
194194

195+
service_options = scale_tests_utils.get_service_options(
196+
service_name, service_account_info, additional_options, config_path
197+
)
198+
195199
if group_role:
196200
setup_spark_security(service_name, group_role, None, None, service_account_info)
197201

@@ -205,10 +209,6 @@ def install_package(
205209
service_options["service"]["role"] = drivers_role
206210
roles = {"drivers": drivers_role, "executors": executors_role}
207211

208-
service_options = scale_tests_utils.get_service_options(
209-
service_name, service_account_info, additional_options, config_path
210-
)
211-
212212
expected_task_count = service_task_count(service_options)
213213
log.info("Expected task count: %s", expected_task_count)
214214

0 commit comments

Comments
 (0)