From 4a19ef4bb2d978f222f0dfaf260349955407ba33 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 11 Aug 2020 08:51:04 -0500 Subject: [PATCH] Issue #5129 - disabling ResourceTest.testGlobPath on WINDOWS for stability --- .../java/org/eclipse/jetty/util/resource/ResourceTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceTest.java b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceTest.java index fc43ab33bd8..b5d496bb01f 100644 --- a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceTest.java +++ b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/ResourceTest.java @@ -33,6 +33,8 @@ import org.eclipse.jetty.util.IO; import org.hamcrest.Matchers; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; @@ -285,6 +287,7 @@ public class ResourceTest } @Test + @DisabledOnOs(OS.WINDOWS) // this uses forbidden characters on some Windows Environments public void testGlobPath() throws IOException { Path testDir = MavenTestingUtils.getTargetTestingPath("testGlobPath");