test(ci): Exponential backoff when retrying flaky tests.

This patch changes the backoff strategy from `fixed` to `exponential`
when a flaky test is retried. The `count` value is also updated to
3. Finally, we try to avoid the thundering herd problems with `jitter
= true`.
This commit is contained in:
Ivan Enderlin
2023-09-07 09:10:48 +02:00
parent 9174f120b4
commit f08524baa6
+1 -2
View File
@@ -1,5 +1,4 @@
[profile.default]
retries = 2
retries = { backoff = "exponential", count = 3, delay = "1s", jitter = true }
# kill the slow tests if they still aren't up after 180s
slow-timeout = { period = "60s", terminate-after = 3 }