This commit is contained in:
Andy Wilkinson
2017-05-23 22:03:09 +01:00
parent 5f3088ed31
commit 19a61c6591

View File

@@ -335,6 +335,7 @@ public class JettyEmbeddedServletContainerFactoryTests
threadPool.setMaxThreads(2);
threadPool.setMinThreads(2);
}
});
this.thrown.expectCause(instanceOf(IllegalStateException.class));
factory.getEmbeddedServletContainer().start();