We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All tests passed with parallel execution turned on
Test suites passed when executed sequentially but not when parallel execution is turned on
First check that tests passed when executed without any other concurrent test: ./gradlew clean test --tests com.example.ControllerTest
./gradlew clean test --tests com.example.ControllerTest
Running all @MicronautTest concurrently: ./gradlew clean test
./gradlew clean test
> Task :test FAILED ControllerTest > testControllerA() FAILED io.micronaut.http.client.exceptions.HttpClientResponseException at DefaultHttpClient.java:3478 2 tests completed, 1 failed
MacOS Java 17
https://github.com/jorgsant/micronaut-parallel-test.git
3.6.0
The text was updated successfully, but these errors were encountered:
Workaround, add to gradle.properties:
org.gradle.parallel=false
Sorry, something went wrong.
Workaround does not work for me. Only workaround does work is disabling parallelization at junit level. Besides it is still failing in micronaut 3.6.2
Don't think we have ever supported parallel execution with Junit
It is weird because with versions previous to 3.6.0 works
You can always fork JVM's using surefire
No branches or pull requests
Expected Behavior
All tests passed with parallel execution turned on
Actual Behaviour
Test suites passed when executed sequentially but not when parallel execution is turned on
Steps To Reproduce
First check that tests passed when executed without any other concurrent test:
./gradlew clean test --tests com.example.ControllerTest
Running all @MicronautTest concurrently:
./gradlew clean test
Environment Information
MacOS
Java 17
Example Application
https://github.com/jorgsant/micronaut-parallel-test.git
Version
3.6.0
The text was updated successfully, but these errors were encountered: