Skip to content

Commit

Permalink
[tests] time out tests in test_all after a duration (#4780)
Browse files Browse the repository at this point in the history
We're seeing some tests in `test_all` hang forever (#4779). Set a
reasonable
upper bound on test duration.

This will also cause stdout and stderr for failing tests to be printed.
Doing
so on SIGTERM in general is tracked at
nextest-rs/nextest#1208.

Also, bump up the required nextest version to 0.9.64 to make use of the
`binary_id` predicate.
  • Loading branch information
sunshowers authored Jan 9, 2024
1 parent 1509542 commit 9fe8a3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# The required version should be bumped up if we need new features, performance
# improvements or bugfixes that are present in newer versions of nextest.
nextest-version = { required = "0.9.59", recommended = "0.9.64" }
nextest-version = { required = "0.9.64", recommended = "0.9.64" }

experimental = ["setup-scripts"]

Expand Down Expand Up @@ -32,3 +32,9 @@ clickhouse-cluster = { max-threads = 1 }
[[profile.default.overrides]]
filter = 'package(oximeter-db) and test(replicated)'
test-group = 'clickhouse-cluster'

[[profile.ci.overrides]]
filter = 'binary_id(omicron-nexus::test_all)'
# As of 2023-01-08, the slowest test in test_all takes 196s on a Ryzen 7950X.
# 900s is a good upper limit that adds a comfortable buffer.
slow-timeout = { period = '60s', terminate-after = 15 }

0 comments on commit 9fe8a3c

Please sign in to comment.