-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fixes Flakey Tests #211
Fixes Flakey Tests #211
Conversation
Codecov Report
@@ Coverage Diff @@
## main #211 +/- ##
============================================
- Coverage 76.03% 76.01% -0.02%
+ Complexity 1938 1936 -2
============================================
Files 260 260
Lines 11094 11094
Branches 1746 1746
============================================
- Hits 8435 8433 -2
- Misses 1704 1706 +2
Partials 955 955
Continue to review full report at Codecov.
|
Any insights around the 'test disabling and reenabling ism' test? |
Not yet, the failure is: |
@downsrob Are you able to replicate it every 1 or 2/100 attempts even when it's the only test that is run? Should be able to run that test 100 times in succession a lot faster than the entire test suite. If not perhaps it has to do with another test bleeding over somehow. |
@dbbaughe That is a good idea, I started the single test run to see. If that doesn't work then I can try the test suite. Using a failing test seed might be important too, as these flakey failures often depend on test order. Do you know how the test seeds are applied? I have often wondered if the test seed is set per test, per suite, or per overall run. I am curious, as if the seed is set once at the start of the overall run, then it may not guarantee the same test order or values when only the specific tests or test suites are run. I would assume the seed only works to replicate the randomized values in a single test, so it doesn't help replicate test order. |
Signed-off-by: Robert Downs <[email protected]>
Signed-off-by: Robert Downs <[email protected]>
bc08240
to
2a4e6a9
Compare
* Initializes the job index before each test Signed-off-by: Robert Downs <[email protected]> * Fixes test disabling and reenabling ism flakiness Signed-off-by: Robert Downs <[email protected]>
* Initializes the job index before each test Signed-off-by: Robert Downs <[email protected]> * Fixes test disabling and reenabling ism flakiness Signed-off-by: Robert Downs <[email protected]>
* Initializes the job index before each test Signed-off-by: Robert Downs <[email protected]> * Fixes test disabling and reenabling ism flakiness Signed-off-by: Robert Downs <[email protected]>
* Initializes the job index before each test Signed-off-by: Robert Downs <[email protected]> * Fixes test disabling and reenabling ism flakiness Signed-off-by: Robert Downs <[email protected]>
Signed-off-by: Robert Downs [email protected]
Issue #, if available:
#90
Description of changes:
CheckList:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.