Commit d4ad67af authored by Phillip Webb's avatar Phillip Webb

Relax expected exception when connection fails

Exception appears to be different on Windows JVMs
parent 7e7733d4
......@@ -110,7 +110,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
.getEmbeddedServletContainer(exampleServletRegistration());
this.container.start();
this.container.stop();
this.thrown.expect(IOException.class);
this.thrown.expect(Exception.class);
getResponse(getLocalUrl("/hello"));
}
......
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