You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chris Nauroth (Jira)" <ji...@apache.org> on 2022/12/05 19:34:00 UTC

[jira] [Created] (YARN-11388) Prevent resource leaks in TestClientRMService.

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org