From: David Zafman Date: Thu, 27 Jul 2017 18:23:54 +0000 (-0700) Subject: test: test_pidfile running 2nd mon has unreliable log output X-Git-Tag: v12.1.2~64^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16635%2Fhead;p=ceph.git test: test_pidfile running 2nd mon has unreliable log output Signed-off-by: David Zafman --- diff --git a/src/test/test_pidfile.sh b/src/test/test_pidfile.sh index 31a3a582b4f1..fbd5ab617d9d 100755 --- a/src/test/test_pidfile.sh +++ b/src/test/test_pidfile.sh @@ -50,7 +50,7 @@ function TEST_pidfile() { # no daemon can use a pidfile that is owned by another daemon run_mon $dir a || return 1 - run_mon $dir a 2>&1 | grep "failed to lock pidfile" || return 1 + run_mon $dir a --log-to-stderr -f 2>&1 | grep "failed to lock pidfile" || return 1 run_osd $dir 0 || return 1 activate_osd $dir 0 --log-to-stderr -f 2>&1 | grep "failed to lock pidfile" || return 1