summaryrefslogtreecommitdiffstats
path: root/tests/imsm-grow-template
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-05-14 04:14:26 +0200
committerNeilBrown <neilb@suse.de>2015-05-15 03:07:25 +0200
commit18d5cb9ee5f6fb10986f07f4f62547cca5c35ff9 (patch)
treef98fc5cd596ea9145673c9a24b4fb4965cd3f937 /tests/imsm-grow-template
parentGrow: be more careful if array is stopped during critical section. (diff)
downloadmdadm-18d5cb9ee5f6fb10986f07f4f62547cca5c35ff9.tar.xz
mdadm-18d5cb9ee5f6fb10986f07f4f62547cca5c35ff9.zip
tests/imsm-grow-template: sleep a bit more.
The current sleep/wait doesn't seem long enough, particularly when two arrays are being reshaped in the one container. So wait a bit more... Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/imsm-grow-template')
-rw-r--r--tests/imsm-grow-template2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/imsm-grow-template b/tests/imsm-grow-template
index 8022e3ad..24218c7f 100644
--- a/tests/imsm-grow-template
+++ b/tests/imsm-grow-template
@@ -90,8 +90,10 @@ else
exit 1
fi
else
+ sleep 5
check wait
sleep 5
+ check wait
imsm_check member $member0 $num_disks $vol0_level $vol0_comp_size $((vol0_comp_size * vol0_new_num_comps)) $vol0_offset $vol0_chunk
testdev $member0 $vol0_new_num_comps $vol0_comp_size $vol0_chunk
if [ $vol1_new_num_comps -ne 0 ]; then