Skip to content

Commit

Permalink
Fix InstrumentedEE10HandlerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi authored and renovate[bot] committed Dec 20, 2023
1 parent aba79d3 commit 12ddf96
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -226,20 +226,20 @@ public void onWritePossible() throws IOException {
servletOutputStream.write("some content from the async\n"
.getBytes(StandardCharsets.UTF_8));
context.complete();
servletContextRequest.getServletChannel().sendResponseAndComplete();
servletContextRequest.getServletChannel().handle();
}

@Override
public void onError(Throwable throwable) {
context.complete();
servletContextRequest.getServletChannel().sendResponseAndComplete();
servletContextRequest.getServletChannel().handle();
}
}
);
servletContextRequest.getHttpOutput().run();
} catch (IOException e) {
context.complete();
servletContextRequest.getServletChannel().sendResponseAndComplete();
servletContextRequest.getServletChannel().handle();
}
});
t.start();
Expand Down

0 comments on commit 12ddf96

Please sign in to comment.