mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Backport "Attempt to fix CI"
This commit is contained in:
parent
93f7e2b6ba
commit
db28c0c65c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user