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: add WaiterConfig to ssm command waiter #152

Closed moorec-aws closed 3 weeks ago

moorec-aws commented 3 weeks ago

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

  1. Worker installation/configuration is taking more than 100 seconds which is the default timeout for the waiter. This results in a -1 exit code being returned despite the command completing successfully.

  2. The pip upgrade command for windows is not completing successfully.

What was the solution? (How)

  1. Add a WaiterConfig to increase the timeout
  2. Use python -m to upgrade pip

What is the impact of this change?

Resolves errors that were happening during the worker configuration and installation

How was this change tested?

Tested using the Worker E2E tests

hatch run e2e-test

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.

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud