File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
smoke-tests/src/test/java/io/opentelemetry/smoketest/appserver Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,10 @@ void jspSmokeTestForSnippetInjection() {
208208
209209 var response = testing ().client ().get ("/app/jsp" ).aggregate ().join ();
210210
211- assertThat (response .status ().isSuccess ()).isTrue ();
212211 assertThat (response .contentUtf8 ())
213212 .contains ("Successful JSP test" )
214213 .contains ("<script>console.log(hi)</script>" );
214+ assertThat (response .status ().isSuccess ()).isTrue ();
215215
216216 if (expectServerSpan ()) {
217217 getAndAssertServerSpan (span -> span .hasName ("GET /app/jsp" ));
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ protected SmokeTestInstrumentationExtension<AppServerImage> testing() {
2525 return testing ;
2626 }
2727
28+ @ Override
29+ protected boolean testJsp () {
30+ return false ;
31+ }
32+
2833 @ Override
2934 protected String getSpanName (String path ) {
3035 if ("/app/hello.txt" .equals (path ) || "/app/file-that-does-not-exist" .equals (path )) {
You can’t perform that action at this time.
0 commit comments