There is a race condition where a job can complete and the exitenv action has not been run yet which can result in an unexpected session action status.
What was the solution? (How)
Poll the session action status until it is the expected FAILED state.
What is the impact of this change?
resolves inconsistent results of the failed session action test
How was this change tested?
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.
What was the problem/requirement? (What/Why)
There is a race condition where a job can complete and the exitenv action has not been run yet which can result in an unexpected session action status.
What was the solution? (How)
Poll the session action status until it is the expected FAILED state.
What is the impact of this change?
resolves inconsistent results of the failed session action test
How was this change tested?
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.