-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparing the repo for use with "cargo nextest"
- Loading branch information
Michael-F-Bryan
committed
Oct 3, 2023
1 parent
afaa023
commit 76ad310
Showing
3 changed files
with
37 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[profile.ci] | ||
# Print out output for failing tests as soon as they fail, and also at the end | ||
# of the run (for easy scrollability). | ||
failure-output = "immediate-final" | ||
# Do not cancel the test run on the first failure. | ||
fail-fast = false | ||
# Automatically mark a test as "slow" after 60 seconds, then kill it after 180s | ||
slow-timeout = { period = "60s", terminate-after = 3 } | ||
|
||
[[profile.default.overrides]] | ||
# Create-exe tests tend to be pretty flaky | ||
filter = "test(create_exe)" | ||
retries = 3 | ||
|
||
[[profile.default.overrides]] | ||
# Snapshot tests tend to be flaky because they implicitly rely on how the OS will | ||
# schedule threads. Our pipe flushing is also pretty unreliable. | ||
filter = "test(snapshot)" | ||
retries = 3 |
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