Skip to content

Commit

Permalink
macos may have docker0 interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Aug 21, 2024
1 parent 583aaa1 commit 7c86f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/jdk/test/lib/NetworkConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static boolean isTestable(NetworkInterface nif) {
}
}

if (Platform.isLinux()) {
if (Platform.isLinux() || Platform.isOSX()) {
String dName = nif.getDisplayName();
if (dName != null && dName.contains("docker")) {
return false;
Expand Down

0 comments on commit 7c86f40

Please sign in to comment.