Throw exception on stop failure
Trying to fix the Windows CI build
This commit is contained in:
parent
03b281278a
commit
6311ae191f
|
|
@ -110,7 +110,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
|
||||||
.getEmbeddedServletContainer(exampleServletRegistration());
|
.getEmbeddedServletContainer(exampleServletRegistration());
|
||||||
this.container.start();
|
this.container.start();
|
||||||
this.container.stop();
|
this.container.stop();
|
||||||
// this.thrown.expect(Exception.class);
|
this.thrown.expect(IOException.class);
|
||||||
String response = getResponse(getLocalUrl("/hello"));
|
String response = getResponse(getLocalUrl("/hello"));
|
||||||
throw new RuntimeException(response);
|
throw new RuntimeException(response);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue