Skip to content

Commit

Permalink
test: Give book tests more time under nextest (#4680)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jun 30, 2024
1 parent e9b159e commit f9ca9fa
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 @@ -16,9 +16,15 @@ test-group = 'test-dbs'
# the database has already been setup. For now, we can use cargo test instead.
max-threads = 1

[[profile.default.overrides]]
# cli tests take a bit longer
filter = 'test(cli)'
slow-timeout = {period = "1s"}

[[profile.default.overrides]]
filter = 'package(mdbook-prql)'
slow-timeout = {period = "8s", terminate-after = 2}
# These are testing dozens of queries, so we give them more time.
slow-timeout = {period = "20s", terminate-after = 2}
test-group = 'docs-mdbook'

[test-groups.docs-mdbook]
Expand Down

0 comments on commit f9ca9fa

Please sign in to comment.