You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 07:34:41 UTC

[jira] [Created] (HDFS-2596) TestDirectoryScanner doesn't test parallel scans

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