Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulestatus: duplicateA duplicate of another issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions