You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiaoqiao He (Jira)" <ji...@apache.org> on 2025/03/03 03:26:00 UTC
[jira] [Resolved] (HDFS-17745) TestRouterMountTable should reset defaultNSEnable to true after each test method.
[ https://issues.apache.org/jira/browse/HDFS-17745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoqiao He resolved HDFS-17745.
--------------------------------
Fix Version/s: 3.5.0
Hadoop Flags: Reviewed
Resolution: Fixed
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org