aws-deadline / deadline-cloud-test-fixtures

This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages
Apache License 2.0
9 stars 13 forks source link

fix: stop using removed worker agent CLI argument #93

Closed jusiskin closed 6 months ago

jusiskin commented 6 months ago

What was the problem/requirement? (What/Why)

  1. The worker agent was modified in aws-deadline/deadline-cloud-worker-agent#277 to remove deprecate command-line arguments including --allow-instance-profile which is used by the test fixtures.
  2. Standard output from the deadline-worker-agent was redirected to /dev/null which made forensic analysis challenging

What was the solution? (How)

  1. Remove the no-longer-available --allow-instance-profile when launching deadline-worker-agent
  2. Redirect standard output to /tmp/worker-agent-stdout.txt

What is the impact of this change?

The worker agent will startup without errors when running tests which use these test fixtures

How was this change tested?

Was this change documented?

No

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.