Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading