Throw exception on stop failure

Trying to fix the Windows CI build
pull/1165/merge
Phillip Webb 11 years ago
parent 03b281278a
commit 6311ae191f

@ -110,7 +110,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
.getEmbeddedServletContainer(exampleServletRegistration());
this.container.start();
this.container.stop();
// this.thrown.expect(Exception.class);
this.thrown.expect(IOException.class);
String response = getResponse(getLocalUrl("/hello"));
throw new RuntimeException(response);
}

Loading…
Cancel
Save