Merge branch 'jetty-12-more-test-tags' into jetty-12.0.x
This commit is contained in:
commit
d7cc13d972
|
@ -94,7 +94,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 -Dmaven.test.failure.ignore=true --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -DexcludedGroups=\"external, large-disk-resource, stress, slow\" -V -B -e -Djetty.testtracker.log=true $cmdline"
|
||||
sh "mvn -Dmaven.test.failure.ignore=true --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -DexcludedGroups=\"external, large-disk-resource, stress, slow, not-on-ci, flaky\" -V -B -e -Djetty.testtracker.log=true $cmdline"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@ import org.eclipse.jetty.util.Promise;
|
|||
import org.eclipse.jetty.util.component.LifeCycle;
|
||||
import org.eclipse.jetty.util.thread.QueuedThreadPool;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static java.util.concurrent.TimeUnit.SECONDS;
|
||||
|
@ -99,6 +100,7 @@ public class BlockedWritesWithSmallThreadPoolTest
|
|||
}
|
||||
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testServerThreadsBlockedInWrites() throws Exception
|
||||
{
|
||||
int contentLength = 16 * 1024 * 1024;
|
||||
|
|
|
@ -52,8 +52,8 @@ import org.eclipse.jetty.util.Callback;
|
|||
import org.eclipse.jetty.util.IO;
|
||||
import org.eclipse.jetty.util.StringUtil;
|
||||
import org.hamcrest.Matchers;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -715,7 +715,7 @@ public abstract class HttpServerTestBase extends HttpServerTestFixture
|
|||
}
|
||||
|
||||
@Test
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci") // TODO: SLOW, needs review
|
||||
@Tag("slow")
|
||||
public void testRequest2Sliced2() throws Exception
|
||||
{
|
||||
startServer(new TestHandler());
|
||||
|
@ -747,7 +747,7 @@ public abstract class HttpServerTestBase extends HttpServerTestFixture
|
|||
}
|
||||
|
||||
@Test
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci") // TODO: SLOW, needs review
|
||||
@Tag("slow")
|
||||
public void testRequest2Sliced3() throws Exception
|
||||
{
|
||||
startServer(new TestHandler());
|
||||
|
|
|
@ -29,8 +29,8 @@ import org.eclipse.jetty.util.IO;
|
|||
import org.eclipse.jetty.util.resource.FileSystemPool;
|
||||
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 org.junit.jupiter.api.condition.DisabledIfSystemProperty;
|
||||
import org.junit.jupiter.api.condition.DisabledOnOs;
|
||||
import org.junit.jupiter.api.condition.OS;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
@ -315,7 +315,7 @@ public class TempDirTest
|
|||
* Note that if run in the CI environment, the test will fail, because it runs as root,
|
||||
* so we _will_ have permission to write to this directory.
|
||||
*/
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci")
|
||||
@Tag("not-on-ci")
|
||||
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "Test/Temp directory is always writable")
|
||||
@Test
|
||||
public void attributeWithInvalidPermissions()
|
||||
|
|
|
@ -29,8 +29,8 @@ import org.eclipse.jetty.util.IO;
|
|||
import org.eclipse.jetty.util.resource.FileSystemPool;
|
||||
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 org.junit.jupiter.api.condition.DisabledIfSystemProperty;
|
||||
import org.junit.jupiter.api.condition.DisabledOnOs;
|
||||
import org.junit.jupiter.api.condition.OS;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
@ -315,7 +315,7 @@ public class TempDirTest
|
|||
* Note that if run in the CI environment, the test will fail, because it runs as root,
|
||||
* so we _will_ have permission to write to this directory.
|
||||
*/
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci")
|
||||
@Tag("not-on-ci")
|
||||
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "Test/Temp directory is always writable")
|
||||
@Test
|
||||
public void attributeWithInvalidPermissions()
|
||||
|
|
|
@ -47,7 +47,6 @@ import org.eclipse.jetty.util.BlockingArrayQueue;
|
|||
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
|
||||
import org.junit.jupiter.api.condition.EnabledForJreRange;
|
||||
import org.junit.jupiter.api.condition.JRE;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
|
@ -1012,7 +1011,7 @@ public class DistributionTests extends AbstractJettyHomeTest
|
|||
}
|
||||
|
||||
@Test
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci")
|
||||
@Tag("flaky")
|
||||
public void testH3() throws Exception
|
||||
{
|
||||
String jettyVersion = System.getProperty("jettyVersion");
|
||||
|
|
Loading…
Reference in New Issue