|
|
|
@ -937,7 +937,7 @@ public abstract class AbstractServletWebServerFactoryTests {
|
|
|
|
|
@Test
|
|
|
|
|
void malformedAddress() throws Exception {
|
|
|
|
|
AbstractServletWebServerFactory factory = getFactory();
|
|
|
|
|
factory.setAddress(InetAddress.getByName("255.255.255.255"));
|
|
|
|
|
factory.setAddress(InetAddress.getByName("129.129.129.129"));
|
|
|
|
|
assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> {
|
|
|
|
|
this.webServer = factory.getWebServer();
|
|
|
|
|
this.webServer.start();
|
|
|
|
|