Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed May 28, 2024
1 parent e254c03 commit 34ed694
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void failsIfTwoIPv4NetworkInterfacesAreSet() {
() -> NetworkConfig.builder().networkInterfaces(List.of("0.0.0.0", "1.2.3.4")).build())
.isInstanceOf(InvalidConfigurationException.class)
.hasMessage(
"Expected an IPv4 and an IPv6 address for --p2p-advertised-ips but only [IP_V6] was set");
"Expected an IPv4 and an IPv6 address for --p2p-interfaces but only [IP_V4] was set");
}

@Test
Expand All @@ -160,6 +160,6 @@ void failsIfTwoIPv6AdvertisedIpsAreSet() {
.build())
.isInstanceOf(InvalidConfigurationException.class)
.hasMessage(
"Expected an IPv4 and an IPv6 address for --p2p-interfaces but only [IP_V6] was set");
"Expected an IPv4 and an IPv6 address for --p2p-advertised-ips but only [IP_V6] was set");
}
}

0 comments on commit 34ed694

Please sign in to comment.