Commit 6311ae19 authored by Phillip Webb's avatar Phillip Webb

Throw exception on stop failure

Trying to fix the Windows CI build
parent 03b28127
...@@ -110,7 +110,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests { ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment