Yuan Luo created YARN-12046:
-------------------------------
Summary: Close ResourceManager and resolver fixtures in
TestNodesListManager
Key: YARN-12046
URL: https://issues.apache.org/jira/browse/YARN-12046
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Reporter: Yuan Luo
Assignee: Yuan Luo
TestNodesListManager creates ResourceManager fixtures and starts cached
resolvers without corresponding test cleanup.
Keep the ResourceManagers and cached-resolver fixtures on the test instance.
Stop the ResourceManager after each test and close the cached resolver from a
finally block, including the resolver used by testCachedResolverWithEvent. This
avoids leaving the event-test resolver hidden in a local variable.
This is a test-only lifecycle fix. Existing node-event and resolver assertions
remain unchanged, and the process-wide metrics system is not shut down.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]