Skip to content

Fix tests to continue trying to claim after a nil response to claim #82

@eric

Description

@eric

Right now the tests assume that claim will never return nil if there are any tasks still available to claim.

The reality is (this was explained by @aphyr in #80) that with an AP queue it is expected behavior that sometimes claim will return nil even though there is theoretically work still to be done.

Because of that, we need to update the tests to continue trying to claim until some period of time has passed instead of relying on a nil response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions