Relax expected exception when connection fails

Exception appears to be different on Windows JVMs
This commit is contained in:
Phillip Webb 2014-06-25 16:10:02 -07:00
parent 7e7733d45d
commit d4ad67af44
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(IOException.class);
this.thrown.expect(Exception.class);
getResponse(getLocalUrl("/hello"));
}