2024-01-13 11:26:55 +00:00
|
|
|
# None of our tests should take longer than 45s, and if they've gone 2x that,
|
|
|
|
# terminate them to prevent infinite run-on.
|
|
|
|
[profile.default]
|
|
|
|
slow-timeout = { period = "45s", terminate-after = 2 }
|
|
|
|
|
2024-05-16 13:05:41 +00:00
|
|
|
# Use two threads for tests with "2 threads" in their name
|
2024-01-02 14:27:22 +00:00
|
|
|
[[profile.default.overrides]]
|
2024-05-16 13:05:41 +00:00
|
|
|
filter = 'test(~2_threads) | test(~2 threads)'
|
2024-01-02 14:27:22 +00:00
|
|
|
threads-required = 2
|
2024-05-16 13:05:41 +00:00
|
|
|
|
|
|
|
# Use four threads for tests with "4 threads" in their name
|
|
|
|
[[profile.default.overrides]]
|
|
|
|
filter = 'test(~4_threads) | test(~4 threads)'
|
|
|
|
threads-required = 4
|
|
|
|
|
|
|
|
# Use eight threads for tests with "8 threads" in their name
|
|
|
|
[[profile.default.overrides]]
|
|
|
|
filter = 'test(~8_threads) | test(~8 threads)'
|
|
|
|
threads-required = 8
|