Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2022-11-09 12:14:29 +01:00
commit 0e3f3ac316
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
1 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,15 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
public class GracefulShutdownTest extends AbstractTest
{
@Override
protected void start(ServerSessionListener listener) throws Exception
{
super.start(listener);
// Don't let the default shutdown idleTimeout
// of just 1000 ms interfere with the test.
connector.setShutdownIdleTimeout(15000);
}
@Test
public void testGracefulShutdownWhileIdle() throws Exception
{