diff --git a/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java b/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java index 7a3c551f31..c1a46201ee 100644 --- a/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java +++ b/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java @@ -41,7 +41,6 @@ import org.awaitility.Awaitility; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.ResourceHandler; -import org.eclipse.jetty.util.resource.PathResource; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; @@ -94,9 +93,7 @@ static void setUpHttpServer() throws Exception { ResourceHandler resourceHandler = new ResourceHandler(); resourceHandler.setDirAllowed(true); - // TODO when using jetty 12: - // resourceHandler.setBaseResourceAsString("src/test/resources/test-files") - resourceHandler.setBaseResource(new PathResource(Paths.get("src", "test", "resources", "test-files"))); + resourceHandler.setBaseResourceAsString("src/test/resources/test-files"); httpServer.setHandler(resourceHandler); httpServer.start();