From f9ca9face0ed6f7af12a8f8e0ed8016991d4d8ce Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sun, 30 Jun 2024 15:05:41 -0700 Subject: [PATCH] test: Give book tests more time under nextest (#4680) --- .config/nextest.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index 6297c2fe4268..e4b78ebceb6d 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -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]