mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-30 20:08:57 +00:00
a82d43ef87
This allows postsubmit to run with the postsubmit nextest profile to fail flaky tests. BUG=b:300669562 TEST=export NEXTEST_PROFILE=postsubmit; dev_container run_tests Change-Id: I4ac9c351e63243cb1c66fabfb755949530768917 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5121290 Reviewed-by: Zihan Chen <zihanchen@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com>
14 lines
423 B
TOML
14 lines
423 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
|
|
|
|
[profile.presubmit]
|
|
# Use default settings for presubmit
|