Skip to content

Commit

Permalink
Merge pull request #1529 from fl4via/UNDERTOW-2331
Browse files Browse the repository at this point in the history
[UNDERTOW-2331] At RapidResetDDoSUnitTestCase, accept  a smaller numb…
  • Loading branch information
fl4via authored Oct 23, 2023
2 parents c139708 + 3a9de42 commit d24e1f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public void assertDoSRstFramesHandled(int totalNumberOfRequests, int rstStreamLi

// server sent go away before processing and responding client frames, sometimes this happens, depends on the order of threads
// being executed
if (responses.isEmpty()) {
if (responses.size() < totalNumberOfRequests) {
Assert.assertTrue(errorExpected);
Assert.assertNotNull(exception);
Assert.assertTrue(exception instanceof ClosedChannelException);
Expand Down

0 comments on commit d24e1f7

Please # to comment.