Procházet zdrojové kódy

ZOOKEEPER-1125. Intermittent java core test failures. (Vishar Kher via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1170433 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar před 13 roky
rodič
revize
e00dc11065

+ 2 - 0
CHANGES.txt

@@ -317,6 +317,8 @@ BUGFIXES:
   ZOOKEEPER-981. Hang in zookeeper_close() in the multi-threaded C client. 
   (Jeremy Stribling via mahadev) 
 
+  ZOOKEEPER-1125. Intermittent java core test failures. (Vishar Kher via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 
   (phunt via mahadev)

+ 1 - 1
src/java/test/org/apache/zookeeper/test/CnxManagerTest.java

@@ -343,7 +343,7 @@ public class CnxManagerTest extends ZKTestCase {
         throws InterruptedException
     {
         String failure = null;
-        for (int i = 0; i < 120; i++) {
+        for (int i = 0; i < 480; i++) {
             Thread.sleep(500);
 
             failure = _verifyThreadCount(peerList, ecnt);