Browse Source

ZOOKEEPER-1984. testLeaderTimesoutOnNewQuorum is a flakey test (Alex Shraer via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1612867 13f79535-47bb-0310-9956-ffa450edef68
Patrick D. Hunt 11 years ago
parent
commit
a6b0e9efbf
2 changed files with 3 additions and 7 deletions
  1. 3 0
      CHANGES.txt
  2. 0 7
      src/java/test/org/apache/zookeeper/test/ReconfigTest.java

+ 3 - 0
CHANGES.txt

@@ -726,6 +726,9 @@ BUGFIXES:
   ZOOKEEPER-1981. Fix Dodgy Code Warnings identified by findbugs 2.0.3
   ZOOKEEPER-1981. Fix Dodgy Code Warnings identified by findbugs 2.0.3
   (Hongchao Deng via phunt)
   (Hongchao Deng via phunt)
 
 
+  ZOOKEEPER-1984. testLeaderTimesoutOnNewQuorum is a flakey test
+  (Alex Shraer via phunt)
+
 IMPROVEMENTS:
 IMPROVEMENTS:
 
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

+ 0 - 7
src/java/test/org/apache/zookeeper/test/ReconfigTest.java

@@ -442,13 +442,6 @@ public class ReconfigTest extends ZKTestCase implements DataCallback{
                 qu.getPeer(1).peer.getServerState());
                 qu.getPeer(1).peer.getServerState());
         Assert.assertEquals(QuorumStats.Provider.LOOKING_STATE,
         Assert.assertEquals(QuorumStats.Provider.LOOKING_STATE,
                 qu.getPeer(3).peer.getServerState());
                 qu.getPeer(3).peer.getServerState());
-
-        qu.restart(2);
-
-        // Now that 2 is back up, they'll complete the reconfig removing 3 and
-        // can process other ops.
-        testServerHasConfig(zkArr[1], null, leavingServers);
-        testNormalOperation(zkArr[1], zkArr[2]);
         closeAllHandles(zkArr);
         closeAllHandles(zkArr);
     }
     }