HDFS-2596. TestDirectoryScanner doesn't test parallel scans. (eli)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1207694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2011-11-28 23:20:16 +00:00
parent 49c44117f3
commit b32543d9ae
2 changed files with 3 additions and 1 deletions

View File

@ -191,6 +191,8 @@ Release 0.23.1 - UNRELEASED
HDFS-2590. Fix the missing links in the WebHDFS forrest doc. (szetszwo) HDFS-2590. Fix the missing links in the WebHDFS forrest doc. (szetszwo)
HDFS-2596. TestDirectoryScanner doesn't test parallel scans. (eli)
Release 0.23.0 - 2011-11-01 Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -218,7 +218,7 @@ private void scan(long totalBlocks, int diffsize, long missingMetaFile, long mis
public void testDirectoryScanner() throws Exception { public void testDirectoryScanner() throws Exception {
// Run the test with and without parallel scanning // Run the test with and without parallel scanning
for (int parallelism = 1; parallelism < 2; parallelism++) { for (int parallelism = 1; parallelism < 3; parallelism++) {
runTest(parallelism); runTest(parallelism);
} }
} }