Throw exception on stop failure
Trying to fix the Windows CI build
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user