diff options
author | NeilBrown <neilb@suse.de> | 2015-05-25 08:59:19 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-25 08:59:19 +0200 |
commit | 20c993e2e5ce3131be5e11f81a51f46d4b17f0ac (patch) | |
tree | 13374df11e095c721e84e8948f901a8fc3926aa9 /tests | |
parent | Grow: another attempt to fix stop-during-reshape race. (diff) | |
download | mdadm-20c993e2e5ce3131be5e11f81a51f46d4b17f0ac.tar.xz mdadm-20c993e2e5ce3131be5e11f81a51f46d4b17f0ac.zip |
tests: wait a bit long for reshape to complete.
As the kernel now does less locking, 'check wait' doesn't
always wait long enough. Add some pauses.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/07changelevelintr | 3 | ||||
-rw-r--r-- | tests/07changelevels | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/07changelevelintr b/tests/07changelevelintr index 89cfff0c..18c63092 100644 --- a/tests/07changelevelintr +++ b/tests/07changelevelintr @@ -12,7 +12,8 @@ checkgeo() { shift sleep 0.5 check wait - for attr in level raid_disks chunk_size layout + sleep 1 + for attr in level raid_disks chunk_size layout do if [ $# -gt 0 ] ; then val=$1 diff --git a/tests/07changelevels b/tests/07changelevels index d33e007c..5d1051a1 100644 --- a/tests/07changelevels +++ b/tests/07changelevels @@ -26,6 +26,7 @@ checkgeo() { shift sleep 0.5 check wait + sleep 1 for attr in level raid_disks chunk_size layout do if [ $# -gt 0 ] ; then @@ -38,7 +39,7 @@ checkgeo() { fi done } - + bu=/tmp/md-test-backup rm -f $bu |