From f831b921aa1090f175466e84c9f2d192ae275533 Mon Sep 17 00:00:00 2001 From: Josh Usiskin <56369778+jusiskin@users.noreply.github.com> Date: Mon, 1 Apr 2024 19:31:12 -0500 Subject: [PATCH] fix: stop using removed worker agent CLI argument (#93) Signed-off-by: Josh Usiskin <56369778+jusiskin@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 9f55ace..fe7b4c3 100644 --- a/src/deadline_test_fixtures/deadline/worker.py +++ b/src/deadline_test_fixtures/deadline/worker.py @@ -362,7 +362,7 @@ def _start_worker_agent(self) -> None: # pragma: no cover cmd_result = self.send_command( " && ".join( [ - f"nohup runuser --login {self.configuration.user} -c 'AWS_DEFAULT_REGION={self.configuration.region} deadline-worker-agent --allow-instance-profile >/dev/null 2>&1 &'", + f"nohup runuser --login {self.configuration.user} -c 'AWS_DEFAULT_REGION={self.configuration.region} deadline-worker-agent > /tmp/worker-agent-stdout.txt 2>&1 &'", # Verify Worker is still running "echo Waiting 5s for agent to get started", "sleep 5",