HDFS-9919. TestStandbyCheckpoints#testNonPrimarySBNUploadFSImage waitForCheckpoint incorrectly. Contributed by Lin Yiqun.
This commit is contained in:
parent
743a99f2db
commit
a14a6f08ee
|
@ -485,7 +485,7 @@ public class TestStandbyCheckpoints {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue