Skip to content

Commit

Permalink
[UNDERTOW-2449] Check if the failure we are seeing is a matter of a l…
Browse files Browse the repository at this point in the history
…onger timeout due to slower servers

Signed-off-by: Flavia Rainone <[email protected]>
  • Loading branch information
fl4via committed Oct 11, 2024
1 parent 62e16aa commit 46d7096
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;

import io.undertow.testutils.AjpIgnore;
import io.undertow.testutils.ProxyIgnore;
import org.jboss.logging.Logger;
import org.junit.AfterClass;
import org.junit.Assert;
Expand Down Expand Up @@ -87,8 +85,6 @@
*/
@Category(UnitTest.class)
@RunWith(DefaultServer.class)
@ProxyIgnore
@AjpIgnore
public class PushResourceRSTTestCase {
private static final Logger log = Logger.getLogger(PushResourceRSTTestCase.class);
private static final String PUSHER = "/pusher";
Expand Down Expand Up @@ -226,7 +222,7 @@ public void failed(IOException e) {
}
});

latch.await(25, TimeUnit.SECONDS);
latch.await(100, TimeUnit.SECONDS);
Assert.assertEquals(totalNumberOfRequests, pushRstCount.get());
Assert.assertNull(exception);
// could use local 'connection'
Expand Down

0 comments on commit 46d7096

Please sign in to comment.