-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2338: Mark TRANS_TTL_{01,02} and STAKE_POOLS_JOIN_05 pending r=jonathanknowles a=Anviking # Issue Number None. Addressing CI failures. # Overview - [x] Add new `flakyBecauseOf ticketOrReason` helper that calls `pendingWith` unless `RUN_FLAKY_TESTS` is set. - [x] Mark TRANS_TTL_{01,02} and STAKE_POOLS_JOIN_05 pending/flaky. - [x] Add manual test calling for running flaky tests # Comments - Should lower the failure rate by 21% of runs, from 59% to 38%. - Next candidate for marking pending would be #2224, but with a relatively low failure rate of 3.6%, and being important, I think it would be a bad idea. - Maybe we should have flaky tests run per default, unless setting `DONT_RUN_FLAKY_TESTS` in CI, to maximise the times we run them locally. Recent bors failures: ``` succeded: 19, failed: 37 (66%), total: 56 excluding #expected failures Broken down by tags/issues: 10 times #2292 Flaky test - various DB properties causing timeout | #2292 7 times #2295 Flaky TRANS_TTL_{01,02} - SlotNo 80 > SlotNo 50 | #2295 6 times 3 times #2311 Flaky test - integration test timeout after/related to STAKE_POOLS_LIST_01 | #2311 3 times #2230 Flaky STAKE_POOLS_JOIN_05 - Can join when stake key already exists | #2230 2 times #2224 Flaky STAKE_POOLS_LIST_01 - List stake pools, has non-zero saturation & stake | #2224 1 times #another-integration-timeout | 1 times #2337 STAKE_POOLS_GARBAGE_COLLECTION_01 timed out | #2337 1 times #2320 Flaky test - The node backend is unreachable at the moment. STAKE_POOLS_QUIT_02 | #2320 1 times #2295, #2331 Flaky TRANS_TTL_{01,02} - SlotNo 80 > SlotNo 50 | #2295 1 times #2207 Flaky SHELLEY_MIGRATE_01_big_wallet | #2207 1 times #2118 Property `prop_rebalanceSelection` occasionally fails. | #2118 ``` <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Johannes Lund <[email protected]>
- Loading branch information
Showing
4 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Run Flaky Tests | ||
|
||
Some tests might have been disabled in CI with the `flakyBecauseOf` helper. | ||
|
||
Run them locally using | ||
|
||
```bash | ||
RUN_FLAKY_TESTS=1 stack test cardano-wallet:integration | ||
``` | ||
|
||
or on Windows: | ||
```bash | ||
set RUN_FLAKY_TESTS=1 | ||
cardano-wallet-test-integration.exe | ||
``` |