Skip to content

Commit

Permalink
Corrected impacted test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadmohammad committed Apr 11, 2022
1 parent 12f44d6 commit 4a7d471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private void startServers(List<Integer> sids) throws InterruptedException {

private void triggerOps(int sid, String prefix) throws Exception {
TxnLogDigestTest.performOperations(servers.zk[sid], prefix);
servers.restartClient(sid, null);
servers.restartClient(sid, event -> { });
waitForOne(servers.zk[sid], States.CONNECTED);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public void testRevalidation(boolean testObserverMaster) throws Exception {
public void testInOrderCommits(boolean testObserverMaster) throws Exception {
setUp(-1, testObserverMaster);

zk = new ZooKeeper("127.0.0.1:" + CLIENT_PORT_QP1, ClientBase.CONNECTION_TIMEOUT, null);
zk = new ZooKeeper("127.0.0.1:" + CLIENT_PORT_QP1, ClientBase.CONNECTION_TIMEOUT, event -> { });
for (int i = 0; i < 10; i++) {
zk.create("/bulk"
+ i, ("Initial data of some size").getBytes(), Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT);
Expand Down

0 comments on commit 4a7d471

Please sign in to comment.