Skip to content

Retries for flaky tests #1079

Description

@joshparallel

Is it possible to enable retrying a test that fails somehow? Possibly configured on a test-by-test basis, e.g. with decorators or similar? I was initially interested in using tenacity for this but it seems like a fix within slash is required, since e.g. fixtures need to get cleaned up and recreated for each retry. PyTest has plugins like this, so I'm wondering if similar functionality exists within slash. If not, guidance on how to implement this would be much appreciated. Thanks!

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