Skip to content
Permalink
Browse files

Exclude ParallelExecutionSpringExtensionTests.TestCase from build

Prior to this commit, ParallelExecutionSpringExtensionTests.TestCase
was accidentally included in the build which skewed the number of tests
in spring-test by 1000.
  • Loading branch information
sbrannen committed Jul 12, 2019
1 parent 9a71a8d commit 3cf5db631765429cd074a42bf840136b8ffbf767
@@ -20,6 +20,7 @@

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.platform.launcher.Launcher;
import org.junit.platform.launcher.LauncherDiscoveryRequest;
@@ -54,6 +55,7 @@ void runTestsInParallel() {
launcher.registerTestExecutionListeners(listener);

LauncherDiscoveryRequest request = request()//
.configurationParameter("junit.jupiter.conditions.deactivate", "org.junit.jupiter.engine.extension.DisabledCondition")//
.configurationParameter("junit.jupiter.execution.parallel.enabled", "true")//
.configurationParameter("junit.jupiter.execution.parallel.config.dynamic.factor", "10")//
.selectors(selectClass(TestCase.class))//
@@ -66,6 +68,7 @@ void runTestsInParallel() {
}

@SpringJUnitConfig
@Disabled
static class TestCase {

@BeforeEach

0 comments on commit 3cf5db6

Please sign in to comment.
You can’t perform that action at this time.