Skip to content

Commit 4ca4f8b

Browse files
committed
Update AbstractJdkHttpServerTest.java
1 parent d803a06 commit 4ca4f8b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

instrumentation/java-http-server/testing/src/main/java/io/opentelemetry/instrumentation/httpserver/AbstractJdkHttpServerTest.java

-10
Original file line numberDiff line numberDiff line change
@@ -182,16 +182,6 @@ protected void stopServer(HttpServer server) {
182182

183183
@Override
184184
protected void configure(HttpServerTestOptions options) {
185-
options.setExpectedHttpRoute(
186-
(endpoint, method) -> {
187-
if (endpoint == ServerEndpoint.NOT_FOUND) {
188-
// TODO: Revisit this when applying instrumenters to more libraries, Armeria currently
189-
// reports '/*' which is a fallback route.
190-
return "/*";
191-
}
192-
return expectedHttpRoute(endpoint, method);
193-
});
194-
195185
options.setTestNotFound(false);
196186
options.setTestPathParam(false);
197187
options.setTestException(false);

0 commit comments

Comments
 (0)