mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
TEST (lvcreate-raid): Allow more time for RAID arrays to sync
My machines can run very slow sometimes causing this test to fail when it would otherwise have succeeded given more time.
This commit is contained in:
parent
1d0a2b919f
commit
149ab6921e
@ -41,7 +41,7 @@ function wait_for_raid_sync()
|
||||
local i=0
|
||||
|
||||
while ! is_raid_in_sync $1; do
|
||||
sleep .2
|
||||
sleep 1
|
||||
i=$(($i + 1))
|
||||
if [ $i -gt 500 ]; then
|
||||
echo "Sync is taking too long - assume stuck"
|
||||
|
Loading…
Reference in New Issue
Block a user