farmmamba created HDFS-17745:
--------------------------------

             Summary: TestRouterMountTable should reset defaultNSEnable to true 
after each test method.
                 Key: HDFS-17745
                 URL: https://issues.apache.org/jira/browse/HDFS-17745
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: farmmamba
            Assignee: farmmamba


TestRouterMountTable should reset defaultNSEnable to true after each test 
method.

Because we invoke `
mountTable.setDefaultNSEnable(false);` in method testListNonExistPath and 
testListWhenDisableDefaultMountTable,  but we don't reset to true.
 
The failure of unit tests can be reproduced by adding 
`@FixMethodOrder(MethodSorters.NAME_ASCENDING) to this class.`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to