Chris Nauroth created YARN-11388:
------------------------------------

             Summary: Prevent resource leaks in TestClientRMService.
                 Key: YARN-11388
                 URL: https://issues.apache.org/jira/browse/YARN-11388
             Project: Hadoop YARN
          Issue Type: Test
          Components: test
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


While working on YARN-11360, I noticed a few problems in 
{{TestClientRMService}} that made it difficult to work with. Tests do not 
guarantee that servers they start up get shutdown. If an individual test fails, 
then it can leave TCP sockets bound, causing subsequent tests in the suite to 
fail on their socket bind attempts for the same port. There is also a file 
generated by a test that is leaking outside of the build directory into the 
source tree.



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

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

Reply via email to