mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: reduce number of sync waiting
Lets assume faster systems, if we have too big raid arrays, reduce them.
This commit is contained in:
parent
776934aa08
commit
3a1c609ac4
@ -753,7 +753,7 @@ udev_wait() {
|
|||||||
# wait_for_sync <VG/LV>
|
# wait_for_sync <VG/LV>
|
||||||
wait_for_sync() {
|
wait_for_sync() {
|
||||||
local i
|
local i
|
||||||
for i in {1..3000} ; do
|
for i in {1..100} ; do
|
||||||
check in_sync $1 $2 && return
|
check in_sync $1 $2 && return
|
||||||
sleep .2
|
sleep .2
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user