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,6 +12,7 @@ checkgeo() {
|
||||||
shift
|
shift
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
check wait
|
check wait
|
||||||
|
sleep 1
|
||||||
for attr in level raid_disks chunk_size layout
|
for attr in level raid_disks chunk_size layout
|
||||||
do
|
do
|
||||||
if [ $# -gt 0 ] ; then
|
if [ $# -gt 0 ] ; then
|
||||||
|
|
|
@ -26,6 +26,7 @@ checkgeo() {
|
||||||
shift
|
shift
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
check wait
|
check wait
|
||||||
|
sleep 1
|
||||||
for attr in level raid_disks chunk_size layout
|
for attr in level raid_disks chunk_size layout
|
||||||
do
|
do
|
||||||
if [ $# -gt 0 ] ; then
|
if [ $# -gt 0 ] ; then
|
||||||
|
|
Loading…
Reference in New Issue