Skip to content

Commit

Permalink
Fix test failing on WSL due to different ways of getting the hostname
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Aug 24, 2023
1 parent d763c8d commit a02e320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ public void toURI_WithHostnameShouldWorkWhenDnsEnabledAndUpdateEnabled()
"enode://"
+ VALID_NODE_ID
+ "@"
+ InetAddress.getLocalHost().getCanonicalHostName()
+ InetAddress.getLocalHost().getHostName()
+ ":"
+ P2P_PORT;
final URI expectedURI = URI.create(enodeURLString);
Expand Down

0 comments on commit a02e320

Please sign in to comment.