diff options
Diffstat (limited to '')
-rw-r--r-- | tests/25raid456-reshape-while-recovery | 6 | ||||
-rw-r--r-- | tests/25raid456-reshape-while-recovery.broken | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/25raid456-reshape-while-recovery b/tests/25raid456-reshape-while-recovery index b9f871f..f5d3f7a 100644 --- a/tests/25raid456-reshape-while-recovery +++ b/tests/25raid456-reshape-while-recovery @@ -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,12 +18,12 @@ set_up_test || die "set up test failed" # set up replacement echo want_replacement > /sys/block/md0/md/rd0/state -sleep 1 +sleep 2 # trigger reshape echo frozen > /sys/block/md0/md/sync_action mdadm --grow -l 6 $md0 -sleep 1 +sleep 2 # reassemeble array mdadm -S $md0 || die "can't stop array" diff --git a/tests/25raid456-reshape-while-recovery.broken b/tests/25raid456-reshape-while-recovery.broken new file mode 100644 index 0000000..468851e --- /dev/null +++ b/tests/25raid456-reshape-while-recovery.broken @@ -0,0 +1,5 @@ +There are multiple issues with this test: +- kernel version dependent +- can fail in multiple ways + +Marking this test as broken, so it's not executed by CI. |