crosvm/.config/nextest.toml
Dennis Kempin a82d43ef87 dev_container: Pass through NEXTEST_PROFILE
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>
2023-12-14 19:01:30 +00:00

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