Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve integration tests #3934

Merged
merged 2 commits into from
Dec 14, 2023
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
4 changes: 2 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ slow-timeout = { period = "2s", terminate-after = 4 }

[test-groups.test-dbs]
# test-dbs runs database setup when the connection is established,
# and becuase nextest runs test in separate processes, this happens on every test.
# To prevent mutliple setups running at once, we set max-threads to 1.
# and because nextest runs test in separate processes, this happens on every test.
# To prevent multiple setups running at once, we set max-threads to 1.
# Ideally, we could run tests in parallel and they would use a locking mechanism to see if
# the database has already been setup. For now, we can use cargo test instead.
max-threads = 1
Expand Down
Loading
Loading