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

using ParallelComputer to test spring test cases got error [SPR-14983] #19549

Closed
spring-issuemaster opened this Issue Dec 6, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented Dec 6, 2016

dxt opened SPR-14983 and commented

I am using ParallelComputer to test spring test cases, but got error

it seems that I am autowiring beans on the same instance, But the @Before method is running on different instances, I think may be it's the SpringJUnit4ClassRunner‘s issue, or the BlockJUnit4ClassRunner's createTest method, BUT I don't know how to handle this, would you please help me ?

here is a link about this.
bazelbuild/bazel#2188


Affects: 4.2.6

Issue Links:

  • #10532 Allow for concurrent test execution in the TestContext framework ("duplicates")
@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator

spring-issuemaster commented Dec 7, 2016

Sam Brannen commented

Concurrent test execution is not supported until Spring Framework 5.0.

See #10532 for details.

I am therefore closing this issue as a Duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment