hfutatzhanghb opened a new pull request, #7446:
URL: https://github.com/apache/hadoop/pull/7446
### Description of PR
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 in any place.
The failure of unit tests can be reproduced by adding
`@FixMethodOrder(MethodSorters.NAME_ASCENDING) to this class.`
### How was this patch tested?
modify the unit test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]