Skip to content

Commit

Permalink
test: remove the mock of GRACEFUL_TERMINATION_TIME_S=0.5
Browse files Browse the repository at this point in the history
CI always runs > 3 secs, setting GRACEFUL_TERMINATION_TIME_S to be 0.5 s
is too low for CI to pass.
  • Loading branch information
chongxiaoc committed Feb 19, 2022
1 parent 4f97444 commit b77cf6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/integration/test_spark.py
Expand Up @@ -1665,7 +1665,6 @@ def test_spark_task_service_execute_command(self):
file = os.path.sep.join([d, 'command_executed'])
self.do_test_spark_task_service_executes_command(client, file)

@mock.patch('horovod.runner.common.util.safe_shell_exec.GRACEFUL_TERMINATION_TIME_S', 0.5)
def test_spark_task_service_abort_command(self):
with spark_task_service(index=0) as (service, client, _):
with tempdir() as d:
Expand Down

0 comments on commit b77cf6f

Please sign in to comment.