Files
wfe/.config/nextest.toml

52 lines
1.2 KiB
TOML
Raw Normal View History

[store]
dir = "target/nextest"
[profile.default]
test-threads = "num-cpus"
status-level = "pass"
final-status-level = "flaky"
failure-output = "immediate-final"
success-output = "never"
fail-fast = true
slow-timeout = { period = "30s", terminate-after = 2 }
[profile.default.junit]
path = "target/nextest/default/junit.xml"
[profile.integration]
test-threads = 4
fail-fast = false
slow-timeout = { period = "120s", terminate-after = 2 }
failure-output = "immediate-final"
retries = 1
[profile.integration.junit]
path = "target/nextest/integration/junit.xml"
[profile.ci]
fail-fast = false
test-threads = "num-cpus"
failure-output = "immediate-final"
success-output = "final"
slow-timeout = { period = "60s", terminate-after = 3 }
retries = 2
[profile.ci.junit]
path = "target/nextest/ci/junit.xml"
[profile.cover]
# Coverage profile — used with cargo llvm-cov nextest
fail-fast = false
test-threads = "num-cpus"
failure-output = "immediate-final"
success-output = "never"
slow-timeout = { period = "60s", terminate-after = 2 }
[profile.cover.junit]
path = "target/nextest/cover/junit.xml"
# Postgres tests must run serially (shared database state)
[[profile.default.overrides]]
filter = "package(wfe-postgres)"
threads-required = "num-cpus"