[ https://issues.apache.org/jira/browse/YARN-8759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621695#comment-16621695 ]
Manikandan R commented on YARN-8759: ------------------------------------ {quote}I just set it to null, because there are some test which does not use/set the File field so in the tearDown the null check is faster than the File.exists() call. {quote} Since other 2 test classes has the same behaviour, Can we apply the same changes (initialising those vars with NULL, NULL checks in tearDown() etc) even in other 2 test classes just to make it consistent? > Copy of "resource-types.xml" is not deleted if test fails, causes other test > failures > ------------------------------------------------------------------------------------- > > Key: YARN-8759 > URL: https://issues.apache.org/jira/browse/YARN-8759 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Reporter: Antal Bálint Steinbach > Assignee: Antal Bálint Steinbach > Priority: Major > Attachments: YARN-8759.001.patch, YARN-8759.002.patch, > YARN-8759.003.patch > > > resource-types.xml is copied in several tests to the test machine, but it is > deleted only at the end of the test. In case the test fails the file will not > be deleted and other tests will fail, because of the wrong configuration. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org