-
Notifications
You must be signed in to change notification settings - Fork 276
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
test: Use diffrent ports for tests #1093
base: master
Are you sure you want to change the base?
test: Use diffrent ports for tests #1093
Conversation
2a0247b
to
3701aab
Compare
3701aab
to
db412d2
Compare
@NexVeridian do you see improvement in the CI test timings? |
Yes, CI has less threads though, so it's not as noticeable It should only be in Before
After
After, Locally
|
Does this also affect apps build and tested with loco? |
I don't think so
All of the tests that are generated are |
Ah okay I understand now. |
This pr changes the tests in
tests/controller/middlewares.rs
to use a different port for each testAllowing all the tests run from the root of the repo to run in parallel
This might effect the tests in
examples/demo
ande2e
but I think it doesn't?Running
cargo nextest run
, at the root of the repo, without--test-threads 1
is also fixed by this prBenchmarks
Before
After
nextest
logs