Skip to content

Commit

Permalink
HDFS-9919. TestStandbyCheckpoints#testNonPrimarySBNUploadFSImage wait…
Browse files Browse the repository at this point in the history
…ForCheckpoint incorrectly. Contributed by Lin Yiqun.
  • Loading branch information
umbrant committed Mar 8, 2016
1 parent 743a99f commit a14a6f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public void testNonPrimarySBNUploadFSImage() throws Exception {
for (int i = 0; i < NUM_NNS; i++) {
// Once the standby catches up, it should do a checkpoint
// and save to local directories.
HATestUtil.waitForCheckpoint(cluster, 1, ImmutableList.of(12));
HATestUtil.waitForCheckpoint(cluster, i, ImmutableList.of(12));
}

cluster.transitionToActive(0);
Expand Down

0 comments on commit a14a6f0

Please sign in to comment.