Skip to content

Commit

Permalink
limit integration test thread count (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
erratic-pattern authored Oct 13, 2023
1 parent ee32737 commit 798f371
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
##### Configuration overrides for integration tests #####
[[profile.default.overrides]]
filter = "kind(test)"
test-group = "integration-tests"

# Define "slow" tests as being over 180 seconds
slow-timeout = { period = "240s", terminate-after = 3, grace-period = "30s" }
Expand All @@ -26,10 +27,13 @@ filter = "kind(test)"
# Retry failed tests in CI
retries = { count = 2, backoff = "fixed", delay = "10s" }

[[profile.default.overrides]]
filter = "kind(test) & test(test_parameters)"
test-group = "parameter-tests"

[test-groups]
# limit concurrency of parameter tests to avoid Gateway Timeout errors
parameters = { max-threads = 4 }
integration-tests = { max-threads = 4 }
parameter-tests = { max-threads = 2 }


[[profile.default.overrides]]
filter = "kind(test) & test(test_parameters)"
test-group = "parameters"

0 comments on commit 798f371

Please sign in to comment.