Skip to content

Commit

Permalink
[UNDERTOW-2400] At AsyncResponseWriterServlet for servlet tests, conf…
Browse files Browse the repository at this point in the history
…igure a bigger timeout in the async context, to prevent ci failures caused by slowness in ResponseWriterTestCase.testAsyncRespondBeforeRead

Signed-off-by: Flavia Rainone <[email protected]>
  • Loading branch information
fl4via committed Jun 13, 2024
1 parent 9d81a49 commit 680482c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ protected void doGet(final HttpServletRequest req, final HttpServletResponse res
throw new IllegalArgumentException("not a test " + test);
}
final AsyncContext asyncContext = req.startAsync();
asyncContext.setTimeout(50000);
new Thread(()->{
try {
contentLengthFlush((HttpServletResponse) asyncContext.getResponse());
Expand Down

0 comments on commit 680482c

Please sign in to comment.