1
0
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:
Zdenek Kabelac 2014-11-17 00:34:44 +01:00
parent 776934aa08
commit 3a1c609ac4

View File

@ -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