[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesos-commits
Subject:    svn commit: r1402698 - /incubator/mesos/trunk/src/tests/zookeeper_test.cpp
From:       benh () apache ! org
Date:       2012-10-26 22:07:30
Message-ID: 20121026220730.7C5002388C5D () eris ! apache ! org
[Download RAW message or body]

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();
+    }
   }
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic