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>
This commit is contained in:
parent
e0cc1c8d8b
commit
20c993e2e5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue