From e768f38a65eb10a728b298eae93929a2784bd80c Mon Sep 17 00:00:00 2001 From: Yutong Li <52769999+YutongLi291@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:16:17 -0700 Subject: [PATCH] fix: increase number of retries for SSM send_command to 60 (#140) Signed-off-by: Yutong Li <52769999+YutongLi291@users.noreply.github.com> --- src/deadline_test_fixtures/deadline/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deadline_test_fixtures/deadline/worker.py b/src/deadline_test_fixtures/deadline/worker.py index c2e85e7..1ad38ad 100644 --- a/src/deadline_test_fixtures/deadline/worker.py +++ b/src/deadline_test_fixtures/deadline/worker.py @@ -253,7 +253,7 @@ def send_command(self, command: str) -> CommandResult: # # If we send an SSM command then we will get an InvalidInstanceId error # if the instance isn't in that state. - NUM_RETRIES = 30 + NUM_RETRIES = 60 SLEEP_INTERVAL_S = 10 for i in range(0, NUM_RETRIES): LOG.info(f"Sending SSM command to instance {self.instance_id}")