TestDirectoryScanner doesn't test parallel scans
------------------------------------------------

                 Key: HDFS-2596
                 URL: https://issues.apache.org/jira/browse/HDFS-2596
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: data-node, test
    Affects Versions: 0.23.0, 0.22.0
            Reporter: Eli Collins
            Assignee: Eli Collins
         Attachments: hdfs-2596-1.patch

The code from HDFS-854 below doesn't run the test with parallel scanning. They 
probably intended "parallelism < 3".

{code}
+  public void testDirectoryScanner() throws Exception {
+    // Run the test with and without parallel scanning
+    for (int parallelism = 1; parallelism < 2; parallelism++) {
+      runTest(parallelism);
+    }
+  }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to