-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix flaky durations test #4144
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
Fix flaky durations test #4144
Conversation
Unfortunately due to fluctuations in runtime "test_something" might still appear in the final message. Example failure: https://ci.appveyor.com/project/pytestbot/pytest/builds/19494829/job/8lx847u0c78m63wf
Why is that? I mean, how does it appear there then? Is it taking a little bit long enough? Wouldn't/shouldn't the next assertion then also fail? |
Here's the output from the failing test:
Yep, it seems that due to fluctuations on CI time sometimes In theory all calls might take more than |
Looks like there is another flaky one?!
|
Yeah, that one fails sometimes when running in xdist... I will skip that test when we are running under xdist then. 👍 |
Codecov Report
@@ Coverage Diff @@
## master #4144 +/- ##
==========================================
+ Coverage 94.48% 94.94% +0.45%
==========================================
Files 109 109
Lines 23824 23823 -1
Branches 2352 2352
==========================================
+ Hits 22511 22619 +108
+ Misses 1004 906 -98
+ Partials 309 298 -11
Continue to review full report at Codecov.
|
Unfortunately due to fluctuations in runtime "test_something"
might still appear in the final message.
Example failure:
https://ci.appveyor.com/project/pytestbot/pytest/builds/19494829/job/8lx847u0c78m63wf