From a8f2092a1dff88a39c7f25abd60545d94e599d16 Mon Sep 17 00:00:00 2001 From: Wolfgang Hoschek Date: Tue, 7 Jan 2025 15:00:08 +0100 Subject: [PATCH] disable tests with IPv6 on freebsd and solaris Signed-off-by: Wolfgang Hoschek --- bzfs_tests/test_integrations.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bzfs_tests/test_integrations.py b/bzfs_tests/test_integrations.py index 5016c0d3..1ec54616 100755 --- a/bzfs_tests/test_integrations.py +++ b/bzfs_tests/test_integrations.py @@ -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