From b35bf7e7c63c4ca75e664dffbedb03009dd06f92 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sat, 6 Jun 2026 10:15:11 -0700 Subject: [PATCH] ZTS: relax zpool_import_parallel_pos.ksh timing Occasionally in the CI this test will fail because the parallel import took longer than half of the serial time (but still less than the full serial time). Increase the cutoff to 3/4 of the serial time to preserve the intent yet try and avoid these false positive failures. Reviewed-by: Chris Longros Signed-off-by: Brian Behlendorf Closes #18634 --- .../cli_root/zpool_import/zpool_import_parallel_pos.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh index 60088e6dd97..be3344326e9 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh @@ -114,7 +114,7 @@ wait parallel_time=$SECONDS log_note "asyncronously imported 4 pools in $parallel_time seconds" -log_must test $parallel_time -lt $(($sequential_time / 2)) +log_must test $parallel_time -lt $(($sequential_time * 3 / 4)) # # export pools with import delay injectors @@ -133,6 +133,6 @@ log_must zpool import -a -d $DEVICE_DIR -f parallel_time=$SECONDS log_note "asyncronously imported 4 pools in $parallel_time seconds" -log_must test $parallel_time -lt $(($sequential_time / 2)) +log_must test $parallel_time -lt $(($sequential_time * 3 / 4)) log_pass "Pool imports occur in parallel"