Skip to content

Commit

Permalink
[LI-CHERRY-PICK] MINOR: example.com moved (apache#15758) (#512) (#516)
Browse files Browse the repository at this point in the history
Reviewers: Chia-Ping Tsai <[email protected]>, Kuan-Po (Cooper) Tseng <[email protected]>, Viktor Somogyi-Vass <[email protected]>

Co-authored-by: Huilin Shi <[email protected]>
Co-authored-by: Andras Katona <[email protected]>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent 1c0e2f9 commit 2720a23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public void testParseAndValidateAddressesWithReverseLookup() {
assertTrue("Unexpected addresses " + validatedAddresses, validatedAddresses.size() >= 1);
List<String> validatedHostNames = validatedAddresses.stream().map(InetSocketAddress::getHostName)
.collect(Collectors.toList());
List<String> expectedHostNames = Arrays.asList("93.184.216.34", "2606:2800:220:1:248:1893:25c8:1946");

List<String> expectedHostNames = Arrays.asList("93.184.215.14", "2606:2800:21f:cb07:6820:80da:af6b:8b2c");
assertTrue("Unexpected addresses " + validatedHostNames, expectedHostNames.containsAll(validatedHostNames));
validatedAddresses.forEach(address -> assertEquals(10000, address.getPort()));
}
Expand Down

0 comments on commit 2720a23

Please sign in to comment.