From 79f59e4fd56345f6db3c0bd32b3798d1ec7d83da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Piotr=20Da=C5=82ek?= Date: Tue, 22 Nov 2016 10:14:14 +0100 Subject: [PATCH] test/osd-fast-mark-down.sh: wrong assumption on first subtest MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit First subtest checks for proper behavior when "osd fast fail on connection refused" is disabled, yet it doesn't disable it and fails, as is it enabled by default. Signed-off-by: Piotr Dałek --- src/test/osd/osd-fast-mark-down.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/osd/osd-fast-mark-down.sh b/src/test/osd/osd-fast-mark-down.sh index 0c612546bb27..e1bde8342107 100755 --- a/src/test/osd/osd-fast-mark-down.sh +++ b/src/test/osd/osd-fast-mark-down.sh @@ -29,10 +29,12 @@ function run() { CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none " CEPH_ARGS+="--mon-host=$CEPH_MON " + OLD_ARGS=$CEPH_ARGS + CEPH_ARGS+="--osd-fast-fail-on-connection-refused=false " echo "Ensuring old behavior is there..." - test_fast_kill $dir && (echo "OSDs died too early!" ; return 1) + test_fast_kill $dir && (echo "OSDs died too early! Old behavior doesn't work." ; return 1) - CEPH_ARGS+="--osd-fast-fail-on-connection-refused=true" + CEPH_ARGS=$OLD_ARGS"--osd-fast-fail-on-connection-refused=true " OLD_ARGS=$CEPH_ARGS CEPH_ARGS+="--ms_type=simple" -- 2.47.3