Backport "Attempt to fix CI"

This commit is contained in:
Phillip Webb 2020-04-23 16:35:01 -07:00
parent 93f7e2b6ba
commit db28c0c65c

View File

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