Commit ffc06e1e authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.3.x' into 2.4.x

Closes gh-26250
parents b1c32f2a 715c4feb
...@@ -937,7 +937,7 @@ public abstract class AbstractServletWebServerFactoryTests { ...@@ -937,7 +937,7 @@ public abstract class AbstractServletWebServerFactoryTests {
@Test @Test
void malformedAddress() throws Exception { void malformedAddress() throws Exception {
AbstractServletWebServerFactory factory = getFactory(); AbstractServletWebServerFactory factory = getFactory();
factory.setAddress(InetAddress.getByName("255.255.255.255")); factory.setAddress(InetAddress.getByName("129.129.129.129"));
assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> { assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> {
this.webServer = factory.getWebServer(); this.webServer = factory.getWebServer();
this.webServer.start(); this.webServer.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment