summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-07-16 01:27:58 +0200
committerNeilBrown <neilb@suse.de>2015-07-16 02:50:40 +0200
commit0832fb09d91515ced206f5459f0015492b4cc10c (patch)
treea9754d05d42d649fc0b58dc4f7c13d98a5699b25 /test
parenttests: add 19raid6check (diff)
downloadmdadm-0832fb09d91515ced206f5459f0015492b4cc10c.tar.xz
mdadm-0832fb09d91515ced206f5459f0015492b4cc10c.zip
tests: slow down --stop a bit to allow revert-inplace to work.
revert-inplace would sometimes find that the original reshape had finished. So slow down the reshaping during --stop (which needs to be a little bit fast so that stop doesn't timeout waiting) and don't wait quite so long before stopping. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-xtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test b/test
index d09f3d8f..cec057c2 100755
--- a/test
+++ b/test
@@ -156,7 +156,7 @@ mdadm() {
case $* in
*-S* ) udevadm settle
p=`cat /proc/sys/dev/raid/speed_limit_max`
- echo 2000000 > /proc/sys/dev/raid/speed_limit_max
+ echo 20000 > /proc/sys/dev/raid/speed_limit_max
esac
case $* in
*-C* ) $mdadm 2> $targetdir/stderr --quiet "$@" --auto=yes;;