Skip to content

Commit

Permalink
disable tests with IPv6 on freebsd and solaris
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Hoschek <[email protected]>
  • Loading branch information
whoschek committed Jan 7, 2025
1 parent 6da8aba commit a8f2092
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bzfs_tests/test_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,11 @@ def run_bzfs(
elif params and params.get("ssh_mode") == "pull":
args = args + src_host + src_port
elif params and params.get("ssh_mode") == "pull-push":
if getenv_bool("enable_IPv6", True) and rng.randint(0, 2) % 3 == 0:
if (
getenv_bool("enable_IPv6", True)
and rng.randint(0, 2) % 3 == 0
and not (platform.platform().startswith("FreeBSD-") or platform.system() == "SunOS")
):
src_host = ["--ssh-src-host", "::1"] # IPv6 syntax for 127.0.0.1 loopback address
dst_host = ["--ssh-dst-host", "::1"] # IPv6 syntax for 127.0.0.1 loopback address
args = args + src_host + dst_host + src_port + dst_port
Expand Down

0 comments on commit a8f2092

Please sign in to comment.