mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Relax expected exception when connection fails
Exception appears to be different on Windows JVMs
This commit is contained in:
+1
-1
@@ -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"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user