tests/03r5assemV1 - slow down recovery a bit more.

In this test we stop and restart an array that is being recovered,
and we do that several times.  Sometimes it completes the recovery
before we expect and test results are wrong.

So slow it down a bit more.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2011-12-23 06:41:52 +11:00
parent cb0997242c
commit 0b50d3359a
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,9 @@ mdadm --assemble --scan --config=$conf $md1
eval $tst
### Now with a missing device
# We don't want the recovery to complete while we are
# messing about here.
echo 1000 > /proc/sys/dev/raid/speed_limit_max
mdadm -AR $md1 $dev0 $dev2 $dev3 $dev4 #
check state U_U
@ -120,3 +123,4 @@ mdadm -I -c $conf $dev0
mdadm -I -c $conf $dev1
mdadm -I -c $conf $dev2
eval $tst
echo 2000 > /proc/sys/dev/raid/speed_limit_max