crosvm/.config/nextest.toml
Dennis Kempin 624de51e65 Enable test retries in nextest
Enabled globally for all test runs, both for local usage as well as
for CQ usage.

In postsubmit, this is configured to be disabled. However infra does
not set the postsubmit profile yet, so we will temporarily retry tests
in postsubmit as well.

BUG=b:279929830
TEST=presubmit

Change-Id: Ia8bda1ce9ec231d15aa92391915c9b346e0ea945
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4598269
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-06-07 17:43:18 +00:00

11 lines
365 B
TOML

[profile.default]
# Detect slow tests and terminate them after 60s.
slow-timeout = { period = "20s", terminate-after = 3 }
# Always finish running all tests instead of terminating after the first failure.
fail-fast = false
# Retry tests in case they are flaky.
retries = 2
[profile.postsubmit]
# Do not retry tests in postsubmit to detect flaky tests.
retries = 0