summaryrefslogtreecommitdiffstats
path: root/src/test/test_pidfile.sh
diff options
context:
space:
mode:
authorDavid Zafman <dzafman@redhat.com>2017-07-27 20:23:54 +0200
committerDavid Zafman <dzafman@redhat.com>2017-07-27 20:23:54 +0200
commitc76f306ff56e46ee5818689a951987f7cefecb31 (patch)
tree38bd202792d914826e08b2e654d0508f922fbef4 /src/test/test_pidfile.sh
parentMerge pull request #16610 from dzafman/wip-fix-reg11184 (diff)
downloadceph-c76f306ff56e46ee5818689a951987f7cefecb31.tar.xz
ceph-c76f306ff56e46ee5818689a951987f7cefecb31.zip
test: test_pidfile running 2nd mon has unreliable log output
Signed-off-by: David Zafman <dzafman@redhat.com>
Diffstat (limited to 'src/test/test_pidfile.sh')
-rwxr-xr-xsrc/test/test_pidfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_pidfile.sh b/src/test/test_pidfile.sh
index 31a3a582b4f..fbd5ab617d9 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