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 <chris.longros@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #18634
This commit is contained in:
Brian Behlendorf
2026-06-06 10:15:11 -07:00
committed by GitHub
parent a8ef128da2
commit b35bf7e7c6
@@ -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"