summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-07-16 09:27:58 +1000
committerNeilBrown <neilb@suse.de>2015-07-16 10:50:40 +1000
commit0832fb09d91515ced206f5459f0015492b4cc10c (patch)
treea9754d05d42d649fc0b58dc4f7c13d98a5699b25 /test
parent7cb2815a15ea3191274ebef11243a18182e014d8 (diff)
downloadmdadm-0832fb09d91515ced206f5459f0015492b4cc10c.tar.gz
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 d09f3d8..cec057c 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;;