Skip to content

Commit

Permalink
ZOOKEEPER-3159: Flaky: ClientRequestTimeoutTest.testClientRequestTimeout
Browse files Browse the repository at this point in the history
Can't see a reason why testing again the create method without packet drop. Timeout scenario has already been tested and this part seem to make the test flaky. Removed.

Author: Andor Molnar <andor@apache.org>

Reviewers: nkalmar@cloudera.com, andor@apache.org

Closes #653 from anmolnar/ZOOKEEPER-3159
  • Loading branch information
anmolnar committed Oct 12, 2018
1 parent ee250f1 commit 6285f33
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ public void testClientRequestTimeout() throws Exception {
assertEquals(KeeperException.Code.REQUESTTIMEOUT.intValue(),
exception.code().intValue());
}
// reset the error behavior
dropPacket = false;
watch1.waitForConnected(ClientBase.CONNECTION_TIMEOUT);

String path = "/clientHang3";
String create = zk.create(path, data.getBytes(), Ids.OPEN_ACL_UNSAFE,
CreateMode.PERSISTENT);
assertEquals(path, create);

// do cleanup
zk.close();
Expand Down

0 comments on commit 6285f33

Please sign in to comment.