-
Notifications
You must be signed in to change notification settings - Fork 752
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: use nextest in CI #12955
chore: use nextest in CI #12955
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
6f7b483
to
5c9c899
Compare
b2958e7
to
a23c507
Compare
askbend:summary |
This comment was marked as outdated.
This comment was marked as outdated.
askbend:summary |
askbend:summary |
PR Summary(By llmchain.rs):
|
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Use the
nextest
tool to speed up the execution of unit tests.CI log shows that with
nextest
it tasks about 16m to finish the unit tests job, and the execution time is :Not bad, but it could be much better if all of our unit tests can be executed concurrently. However, the current strategy of allocating TCP ports for testing various services is not collision-free. As a result, these tests have to be executed in a serialized manner.
For local dev, the behavior of
make test
is unchanged, just plaincargo test
to use the
nextest
tool for local dev:install cargo-nextest and
cargo nextest run
To prevent flaky behaviors, the following test cases/suites are carried out sequentially:
This change is