Skip to content

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

Closed

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:

Activity

  1. spring-projects-issues commented on Dec 7, 2016

    @spring-projects-issues
    CollaboratorAuthor

    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.

  2. added
    type: bug
    in: test
    status: duplicate
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: teststatus: duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions