1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: aus.sh better defaults

This commit is contained in:
Zdenek Kabelac 2017-07-18 21:25:03 +02:00
parent 466da710e0
commit 43dbfee32a

View File

@ -1563,7 +1563,7 @@ check_lvmpolld_init_rq_count() {
wait_pvmove_lv_ready() {
# given sleep .1 this is about 60 secs of waiting
local retries=${2:-300}
local retries=${2-300}
if [ -e LOCAL_LVMPOLLD ]; then
local lvid=""
@ -1597,7 +1597,7 @@ wait_pvmove_lv_ready() {
hold_device_open() {
local vgname=$1
local lvname=$2
local sec=${3:-20} # default 20sec
local sec=${3-20} # default 20sec
sleep "$sec" < "$DM_DEV_DIR/$vgname/$lvname" >/dev/null 2>&1 &
SLEEP_PID=$!