Skip to content

Bug: Job.wait_unitl_complete Does Not Consider Session Lifecycle Status #157

@evanspearman-a

Description

@evanspearman-a

Expected Behaviour

Job.wait_unitl_complete should have an option to wait until the job's session has reached a lifecycleStatus of "ENDED". Without waiting for this, any test that must reason about the status of "end" session actions will have a race condition where the "end" session actions may not have yet completed. This is because the status of "end" session actions is not factored into the calculus of job completedness.

Current Behaviour

Job.wait_until_complete only takes the overall job status into account.

Reproduction Steps

This is a race condition, so reproduction is difficult.

Code Snippet

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions