Throw exception on stop failure

Trying to fix the Windows CI build
This commit is contained in:
Phillip Webb 2014-06-25 16:21:33 -07:00
parent 03b281278a
commit 6311ae191f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}