Skip to content

Commit 44ca735

Browse files
committed
chore(implementation)!: use Jetty-12 core without servlets
Port the invoker to upgrade to Eclipse Jetty-12 version 12. Specifically using the new core APIs of Eclipse Jetty-12 that allow the overhead of a Servlet container to be avoided. Several optimizations are included, including the optimization that small writes can be buffered in such a way to avoid chunked responses when possible. BREAKING CHANGE: use Java 17 or above, as required by Eclipse Jetty-12.
1 parent 7b401ac commit 44ca735

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

invoker/core/src/test/java/com/google/cloud/functions/invoker/IntegrationTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,9 @@ public void stackDriverLogging() throws Exception {
382382
+ "\"method\": \"service\"}, "
383383
+ "\"message\": \"oops\\njava.lang.Exception: disaster\\n"
384384
+ " at com.google.cloud.functions.invoker.testfunctions.Log.service(Log.java:";
385+
386+
// TODO this test case is suspected of being flaky, as occasionally the final log entry
387+
// is missing
385388
TestCase exceptionTestCase =
386389
TestCase.builder()
387390
.setUrl("/?message=oops&level=severe&exception=disaster")

0 commit comments

Comments
 (0)