]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test: test_pidfile running 2nd mon has unreliable log output
authorDavid Zafman <dzafman@redhat.com>
Thu, 27 Jul 2017 18:23:54 +0000 (11:23 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 27 Jul 2017 18:23:54 +0000 (11:23 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/test_pidfile.sh

index 31a3a582b4f1092dd3110f29068402786a6a2755..fbd5ab617d9d090433fbb226376d0fab501044fe 100755 (executable)
@@ -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