diff --git a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/FileSystemResourceTest.java b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/FileSystemResourceTest.java index d3dcf5beb52..5b65894a3d1 100644 --- a/jetty-util/src/test/java/org/eclipse/jetty/util/resource/FileSystemResourceTest.java +++ b/jetty-util/src/test/java/org/eclipse/jetty/util/resource/FileSystemResourceTest.java @@ -629,6 +629,8 @@ public class FileSystemResourceTest Resource alias = base.addPath("testfile::$DATA"); if (alias.exists()) { + assumeThat(alias.getURI().getScheme(), is("http")); + // If it exists, it must be an alias assertThat("resource.alias",alias,isAliasFor(resource)); assertThat("resource.uri.alias",newResource(alias.getURI()),isAliasFor(resource));