fix: wrong jetty handler will disrupt service

This commit is contained in:
ReaJason
2025-12-08 01:43:41 +08:00
parent 5d28df0e39
commit baeb3daa50
7 changed files with 87 additions and 4 deletions
@@ -85,6 +85,6 @@ public class Jetty12ee10ContainerTest {
ShellType.JAKARTA_HANDLER})
void testProbeInject(String shellType) {
String url = getUrl(container);
ShellAssertion.testProbeInject(url, Server.Jetty, "7+", shellType, Opcodes.V17);
ShellAssertion.testProbeInject(url, Server.Jetty, "12", shellType, Opcodes.V17);
}
}
@@ -86,6 +86,6 @@ public class Jetty12ee11ContainerTest {
ShellType.JAKARTA_HANDLER})
void testProbeInject(String shellType) {
String url = getUrl(container);
ShellAssertion.testProbeInject(url, Server.Jetty, "7+", shellType, Opcodes.V17);
ShellAssertion.testProbeInject(url, Server.Jetty, "12", shellType, Opcodes.V17);
}
}
@@ -83,6 +83,6 @@ public class Jetty12ee8ContainerTest {
ShellType.HANDLER,})
void testProbeInject(String shellType) {
String url = getUrl(container);
ShellAssertion.testProbeInject(url, Server.Jetty, "7+", shellType, Opcodes.V17);
ShellAssertion.testProbeInject(url, Server.Jetty, "12", shellType, Opcodes.V17);
}
}
@@ -85,6 +85,6 @@ public class Jetty12ee9ContainerTest {
ShellType.JAKARTA_HANDLER})
void testProbeInject(String shellType) {
String url = getUrl(container);
ShellAssertion.testProbeInject(url, Server.Jetty, "7+", shellType, Opcodes.V17);
ShellAssertion.testProbeInject(url, Server.Jetty, "12", shellType, Opcodes.V17);
}
}