You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2012/10/27 00:07:30 UTC

svn commit: r1402698 - /incubator/mesos/trunk/src/tests/zookeeper_test.cpp

Author: benh
Date: Fri Oct 26 22:07:30 2012
New Revision: 1402698

URL: http://svn.apache.org/viewvc?rev=1402698&view=rev
Log:
Don't silence ZooKeeper tests when the 'verbose' option is specified.

Review: https://reviews.apache.org/r/7722

Modified:
    incubator/mesos/trunk/src/tests/zookeeper_test.cpp

Modified: incubator/mesos/trunk/src/tests/zookeeper_test.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/zookeeper_test.cpp?rev=1402698&r1=1402697&r2=1402698&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/zookeeper_test.cpp (original)
+++ incubator/mesos/trunk/src/tests/zookeeper_test.cpp Fri Oct 26 22:07:30 2012
@@ -92,8 +92,10 @@ void ZooKeeperTest::SetUpTestCase()
     opts.push_back(classpath);
     jvm = new Jvm(opts);
 
-    silenceServerLogs(jvm);
-    silenceClientLogs();
+    if (!flags.verbose) {
+      silenceServerLogs(jvm);
+      silenceClientLogs();
+    }
   }
 }