Relax expected exception when connection fails
Exception appears to be different on Windows JVMs
This commit is contained in:
parent
7e7733d45d
commit
d4ad67af44
|
|
@ -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(IOException.class);
|
this.thrown.expect(Exception.class);
|
||||||
getResponse(getLocalUrl("/hello"));
|
getResponse(getLocalUrl("/hello"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue