[ https://issues.apache.org/jira/browse/YARN-7260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184362#comment-16184362 ]
Jason Lowe commented on YARN-7260: ---------------------------------- bq. As part of test improvement, I think it would be a good to print all missing configurations in assert message. That sounds good, but that should be a separate JIRA from this one. This JIRA is not intended to go to trunk just branch-2, and any test improvement would go to trunk as well. > yarn.router.pipeline.cache-max-size is missing in yarn-default.xml > ------------------------------------------------------------------ > > Key: YARN-7260 > URL: https://issues.apache.org/jira/browse/YARN-7260 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.9.0 > Reporter: Rohith Sharma K S > Assignee: Jason Lowe > Attachments: YARN-7260-branch-2.001.patch > > > In branch-2 TestYarnConfigurationFields fails > {code} > Running org.apache.hadoop.yarn.api.records.TestURL Tests run: 1, Failures: 0, > Errors: 0, Skipped: 0, Time elapsed: 0.278 sec - in > org.apache.hadoop.yarn.api.records.TestURL Running > org.apache.hadoop.yarn.conf.TestYarnConfigurationFields Tests run: 4, > Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.539 sec <<< FAILURE! - in > org.apache.hadoop.yarn.conf.TestYarnConfigurationFields > testCompareXmlAgainstConfigurationClass(org.apache.hadoop.yarn.conf.TestYarnConfigurationFields) > Time elapsed: 0.296 sec <<< FAILURE! java.lang.AssertionError: > yarn-default.xml has 1 properties missing in class > org.apache.hadoop.yarn.conf.YarnConfiguration at > org.junit.Assert.fail(Assert.java:88) at > org.junit.Assert.assertTrue(Assert.java:41) at > org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareXmlAgainstConfigurationClass(TestConfigurationFieldsBase.java:588) > > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org