-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pytest-flaky to retry fragile functional tests. #956
Comments
6 tasks
I saw the same error today:
|
Now I am seeing this error in all random tests in both master and while working on https://github.com/freedomofpress/securedrop-client/tree/login_via_clicking_icon_functional_test I think I should just add flaky to all tests under functional |
kushaldas
added a commit
that referenced
this issue
Mar 25, 2020
Now we are using pytest-flaky for all the functional tests.
9 tasks
redshiftzero
pushed a commit
that referenced
this issue
Mar 25, 2020
Now we are using pytest-flaky for all the functional tests.
redshiftzero
added a commit
that referenced
this issue
Mar 25, 2020
Fixes #956 Adds flaky for functinoal tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes, on CI, our functional tests fail with errors like this:
Such random, impossible to reproduce and frustrating errors are caused by a problematic state in the CI server, rather than with our tests. For instance, the error quoted above is due to disk read/write problems on the server.
I suggest we use pytest-flaky as a way to retry such flaky tests.
The text was updated successfully, but these errors were encountered: