Merge branch '2.3.x' into 2.4.x

Closes gh-26250
This commit is contained in:
Andy Wilkinson 2021-04-27 11:51:29 +01:00
commit ffc06e1e30
1 changed files with 1 additions and 1 deletions

View File

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