Add nextest config for retry of flaky test (#996)

We should definitely sort this out per #863 but until then I want to
stop getting false reports of failed CI please and this seems better
than turning off the test entirely.

Alternatively #993
This commit is contained in:
Zanie Blue 2024-01-18 23:53:12 -06:00 committed by GitHub
parent 69c72b6fa1
commit a6a5894901
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

8
.config/nextest.toml Normal file
View File

@ -0,0 +1,8 @@
[profile.default]
# Mark tests that take longer than 10s as slow
slow-timeout = "10s"
[[profile.default.overrides]]
# The following test has a non-determinstic snapshot
filter = 'test(excluded_only_compatible_version|dependency_excludes_range_of_compatible_versions)'
retries = 3