Skip to content

Commit 8233aec

Browse files
ludochgae-java-bot
authored andcommitted
Update SizeLimitIgnoreTest 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: 901323532 Change-Id: If2f9a096e7488f0da569b7d51e1cf205bd2ca5a4
1 parent 231a9c8 commit 8233aec

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,7 @@ private RuntimeContext<?> runtimeContext() throws Exception {
136136
private void assertEnvironment() throws Exception {
137137
String match =
138138
switch (jakartaVersion) {
139-
case "EE6" ->
140-
useHttpConnector
141-
? "com.google.apphosting.runtime.jetty9.JettyRequestAPIData"
142-
: "org.eclipse.jetty.server.Request";
143-
case "EE8" -> "org.eclipse.jetty.ee8";
139+
case "EE6", "EE8" -> "org.eclipse.jetty.ee8"; // EE6 is now running on EE8.
144140
case "EE10" -> "org.eclipse.jetty.ee1"; // EE10 could be upgraded to EE11!
145141
case "EE11" -> "org.eclipse.jetty.ee11";
146142
default -> throw new IllegalArgumentException(jakartaVersion);

0 commit comments

Comments
 (0)