HDFS-12449. TestReconstructStripedFile.testNNSendsErasureCodingTasks randomly cannot finish in 60s. (SammiChen via lei)

This commit is contained in:
Lei Xu 2017-09-19 11:50:01 -07:00
parent fda1221c55
commit 7bbeacb75e
1 changed files with 2 additions and 2 deletions

View File

@ -456,8 +456,8 @@ public class TestReconstructStripedFile {
ErasureCodingPolicy policy = StripedFileTestUtil.getDefaultECPolicy();
fs.getClient().setErasureCodingPolicy("/", policy.getName());
final int fileLen = cellSize * ecPolicy.getNumDataUnits() * 2;
for (int i = 0; i < 100; i++) {
final int fileLen = cellSize * ecPolicy.getNumDataUnits();
for (int i = 0; i < 50; i++) {
writeFile(fs, "/ec-file-" + i, fileLen);
}