HDFS-9919. TestStandbyCheckpoints#testNonPrimarySBNUploadFSImage waitForCheckpoint incorrectly. Contributed by Lin Yiqun.

This commit is contained in:
Andrew Wang 2016-03-08 11:51:06 -08:00
parent 743a99f2db
commit a14a6f08ee
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ public class TestStandbyCheckpoints {
for (int i = 0; i < NUM_NNS; i++) { for (int i = 0; i < NUM_NNS; i++) {
// Once the standby catches up, it should do a checkpoint // Once the standby catches up, it should do a checkpoint
// and save to local directories. // and save to local directories.
HATestUtil.waitForCheckpoint(cluster, 1, ImmutableList.of(12)); HATestUtil.waitForCheckpoint(cluster, i, ImmutableList.of(12));
} }
cluster.transitionToActive(0); cluster.transitionToActive(0);