diff --git a/.config/nextest.toml b/.config/nextest.toml index 10af52c03ccc..6a71c86bec7c 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -3,10 +3,8 @@ fail-fast = false failure-output = "final" slow-timeout = { period = "500ms" } -[[profile.default.overrides]] -# compileall does many passes over the same query, so it takes a bit longer -filter = 'package(prqlc) & test(queries::)' -slow-timeout = { period = "2s" } +# Overrides are resolved first-match-wins per setting, so the more specific +# filters need to come before the broad `queries::` one below. [[profile.default.overrides]] # compileall does many passes over the same query, so it takes a bit longer @@ -18,6 +16,11 @@ filter = 'package(prqlc) & test(queries::results::)' slow-timeout = { period = "10s" } test-group = 'test-dbs' +[[profile.default.overrides]] +# the query tests each process a whole `.prql` file, so they take a bit longer +filter = 'package(prqlc) & test(queries::)' +slow-timeout = { period = "2s" } + [test-groups.test-dbs] # test-dbs runs database setup when the connection is established, and because # nextest runs test in separate processes, this happens on every test. To diff --git a/prqlc/prqlc-parser/src/parser/stmt.rs b/prqlc/prqlc-parser/src/parser/stmt.rs index 585482d0c3c2..ee8d56895f7b 100644 --- a/prqlc/prqlc-parser/src/parser/stmt.rs +++ b/prqlc/prqlc-parser/src/parser/stmt.rs @@ -610,7 +610,7 @@ mod tests { #[test] fn doc_comment_inline_module() { - // Check the newline doesn't get eated by the `{}` of the module + // Check the newline doesn't get eaten by the `{}` of the module // TODO: could give a better error when we forget the module name assert_yaml_snapshot!(parse_module_contents(r#" module bar {