Skip to content

Commit

Permalink
make FreeBSD-14.1 testing less aggressive
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 fec2bd3 commit a817576
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions bzfs_tests/test_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,11 @@ def run_bzfs(
old_dedicated_tcp_connection_per_zfssend = os.environ.get(
bzfs.env_var_prefix + "dedicated_tcp_connection_per_zfssend"
)
if platform.platform().startswith("FreeBSD-13") or platform.system() == "SunOS":
if (
platform.platform().startswith("FreeBSD-13")
or platform.platform().startswith("FreeBSD-14.1")
or platform.system() == "SunOS"
):
# workaround for spurious hangs during zfs send/receive in ~30% of Github Action jobs on QEMU
os.environ[bzfs.env_var_prefix + "dedicated_tcp_connection_per_zfssend"] = "false"

Expand Down Expand Up @@ -871,7 +875,13 @@ def test_basic_replication_recursive_parallel(self):
w, q = 3, 3
threads = 4
maxsessions = (
threads if (platform.platform().startswith("FreeBSD-13") or platform.system() == "SunOS") else threads // 2
threads
if (
platform.platform().startswith("FreeBSD-13")
or platform.platform().startswith("FreeBSD-14.1")
or platform.system() == "SunOS"
)
else threads // 2
) # workaround for spurious hangs during zfs send/receive in ~30% of Github Action jobs on QEMU on non-Linux
self.setup_basic_woo(w=w, q=q)
for i in range(0, 1):
Expand Down

0 comments on commit a817576

Please sign in to comment.