mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Update maformed address to one that should fail on CI
Closes gh-26247
This commit is contained in:
parent
ad67c3d50f
commit
715c4febf9
@ -935,7 +935,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();
|
||||
|
Loading…
Reference in New Issue
Block a user