-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Closed
Labels
C-javaJava BindingsJava Bindings
Description
💥 Regression Report
Can no longer limit the number of parallel sessions from JUnit 5 (v3.0.0-M5)
Likely related to this ticket: junit-team/junit-framework#2273
Last working Selenium version
Worked up to version: 4.0.0-alpha-3
Stopped working in version: 4.0.0-alpha-4
To Reproduce
This is with Maven Surefire plugin, but should be the same behavior for Gradle I think.
Run mvn test with a test suite that has this plugin config in the pom.xml file:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<properties>
<configurationParameters>
junit.jupiter.execution.parallel.enabled = true
junit.jupiter.execution.parallel.mode.default = concurrent
junit.jupiter.execution.parallel.config.strategy = fixed
junit.jupiter.execution.parallel.config.fixed.parallelism = 3
</configurationParameters>
</properties>
</configuration>
</plugin>
Expected behavior
Only 3 driver sessions should be running at a time, instead, all tests in the suite are executed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-javaJava BindingsJava Bindings