[ 
https://issues.apache.org/jira/browse/HDFS-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun C Murthy updated HDFS-2596:
--------------------------------

    Fix Version/s: 0.23.1
    
> 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.22.0, 0.23.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>             Fix For: 0.23.1
>
>         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