Browse Source

Relax expected exception when connection fails

Exception appears to be different on Windows JVMs
pull/1165/merge
Phillip Webb 12 years ago
parent
commit
d4ad67af44
  1. 2
      spring-boot/src/test/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactoryTests.java

2
spring-boot/src/test/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactoryTests.java

@ -110,7 +110,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests { @@ -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"));
}

Loading…
Cancel
Save