Skip to contentSkip to conversation

master - tests: reduce number of sync waiting

PATCH Zdenek Kabelac 1 participant 1 message Nov 16, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3a1c609ac49852b50d45a4dd292a61b7cbb9c25f
Commit:        3a1c609ac49852b50d45a4dd292a61b7cbb9c25f
Parent:        776934aa0811727405434698ab25b2c1e7722fa6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Nov 17 00:34:44 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Nov 17 00:34:44 2014 +0100

tests: reduce number of sync waiting

Lets assume faster systems, if we have too big raid arrays, reduce them.

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index 1c168f0..8da834c 100644
@@ -753,7 +753,7 @@ udev_wait() {
 # wait_for_sync <VG/LV>
 wait_for_sync() {
 	local i
-	for i in {1..3000} ; do
+	for i in {1..100} ; do
 		check in_sync $1 $2 && return
 		sleep .2
 	done