Browse Source

Throw exception on stop failure

Trying to fix the Windows CI build
pull/1165/merge
Phillip Webb 12 years ago
parent
commit
6311ae191f
  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(Exception.class);
this.thrown.expect(IOException.class);
String response = getResponse(getLocalUrl("/hello"));
throw new RuntimeException(response);
}

Loading…
Cancel
Save