summaryrefslogtreecommitdiffstats
path: root/tests/25raid456-recovery-while-reshape
diff options
context:
space:
mode:
Diffstat (limited to 'tests/25raid456-recovery-while-reshape')
-rw-r--r--tests/25raid456-recovery-while-reshape6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/25raid456-recovery-while-reshape b/tests/25raid456-recovery-while-reshape
index 3f6251b..8701fd9 100644
--- a/tests/25raid456-recovery-while-reshape
+++ b/tests/25raid456-recovery-while-reshape
@@ -2,7 +2,7 @@ devs="$dev0 $dev1 $dev2"
set_up_test()
{
- mdadm -Cv -R -n 3 -l5 $md0 $devs --assume-clean --size=50M || die "create array failed"
+ mdadm -Cv -R -n 3 -l5 $md0 $devs --assume-clean --size=10M || die "create array failed"
mdadm -a $md0 $dev3 $dev4 || die "failed to bind new disk to array"
echo 1000 > /sys/block/md0/md/sync_speed_max
}
@@ -18,13 +18,13 @@ set_up_test || die "set up test failed"
# trigger reshape
mdadm --grow -l 6 $md0
-sleep 1
+sleep 2
# set up replacement
echo frozen > /sys/block/md0/md/sync_action
echo want_replacement > /sys/block/md0/md/rd0/state
echo reshape > /sys/block/md0/md/sync_action
-sleep 1
+sleep 2
# reassemeble array
mdadm -S $md0 || die "can't stop array"