Attempt to fix CI

This commit is contained in:
Phillip Webb
2020-04-23 15:55:10 -07:00
parent c2a21f00ee
commit 4de69c380d

View File

@@ -924,7 +924,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();