Excluding Stress/Slow tests from normal CI builds. (#8314)
Nightly CI builds still run them. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
5f93e02a6d
commit
cbed42491a
|
@ -109,7 +109,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
|
|||
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
|
||||
configFileProvider(
|
||||
[configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) {
|
||||
sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e -Djetty.testtracker.log=true $cmdline"
|
||||
sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -DexcludedGroups=\"stress, slow\" -V -B -e -Djetty.testtracker.log=true $cmdline"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -274,6 +274,7 @@ public class SocketChannelEndPointTest
|
|||
}
|
||||
}
|
||||
|
||||
@Tag("stress")
|
||||
@ParameterizedTest
|
||||
@MethodSource("scenarios")
|
||||
public void testStress(Scenario scenario) throws Exception
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
|
@ -290,6 +291,7 @@ public class ReservedThreadExecutorTest
|
|||
}
|
||||
}
|
||||
|
||||
@Tag("stress")
|
||||
@Test
|
||||
public void stressTest() throws Exception
|
||||
{
|
||||
|
|
|
@ -55,6 +55,7 @@ import org.eclipse.jetty.util.IO;
|
|||
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.Arguments;
|
||||
import org.junit.jupiter.params.provider.MethodSource;
|
||||
|
@ -288,6 +289,7 @@ public class HttpInputIntegrationTest
|
|||
assertTrue(response.contains("sum=" + sum));
|
||||
}
|
||||
|
||||
@Tag("stress")
|
||||
@ParameterizedTest(name = "[{index}] STRESS {0}")
|
||||
@MethodSource("scenarios")
|
||||
public void testStress(Scenario scenario) throws Exception
|
||||
|
|
Loading…
Reference in New Issue