Skip to content

Commit 231a9c8

Browse files
ludochgae-java-bot
authored andcommitted
Update SizeLimitHandlerTest to reflect EE6 running on Jetty EE8. The test was failing on JDK17 gh actions as it defaults to obsolete jetty9, now Jetty 12 is used so EE8 is used.
PiperOrigin-RevId: 901050851 Change-Id: I61ba2b179f486f6543ce264fbf9cd23aea09c3f7
1 parent bbad553 commit 231a9c8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/SizeLimitHandlerTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,7 @@ private RuntimeContext<?> runtimeContext() throws Exception {
378378
private void assertEnvironment() throws Exception {
379379
String match =
380380
switch (jakartaVersion) {
381-
case "EE6" ->
382-
useHttpConnector
383-
? "com.google.apphosting.runtime.jetty9.JettyRequestAPIData"
384-
: "org.eclipse.jetty.server.Request";
385-
case "EE8" -> "org.eclipse.jetty.ee8";
381+
case "EE6", "EE8" -> "org.eclipse.jetty.ee8"; // EE6 is now running on EE8.
386382
case "EE10" -> "org.eclipse.jetty.ee1"; // EE10 could be upgraded to EE11!
387383
case "EE11" -> "org.eclipse.jetty.ee11";
388384
default -> throw new IllegalArgumentException(jakartaVersion);

0 commit comments

Comments
 (0)