From c1f34d471658f82a3d2b30a7a9ed138d20ec1db9 Mon Sep 17 00:00:00 2001 From: rafearnold Date: Fri, 26 Jul 2024 16:12:57 +0100 Subject: [PATCH] fix test for java11. --- src/test/java/org/wiremock/grpc/GrpcReloadAcceptanceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/wiremock/grpc/GrpcReloadAcceptanceTest.java b/src/test/java/org/wiremock/grpc/GrpcReloadAcceptanceTest.java index c5f9ca3..dba4567 100644 --- a/src/test/java/org/wiremock/grpc/GrpcReloadAcceptanceTest.java +++ b/src/test/java/org/wiremock/grpc/GrpcReloadAcceptanceTest.java @@ -96,7 +96,7 @@ void descriptorFileCanBeReloadedAtRuntime() throws Exception { HttpClient httpClient = HttpClient.newHttpClient(); HttpRequest loadFileDescriptorsHttpRequest = - HttpRequest.newBuilder(URI.create(wm.baseUrl()).resolve("__admin/ext/grpc/reset")) + HttpRequest.newBuilder(URI.create(wm.baseUrl()).resolve("/__admin/ext/grpc/reset")) .POST(HttpRequest.BodyPublishers.noBody()) .build();