[ https://issues.apache.org/jira/browse/YARN-7529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257596#comment-16257596 ]
Chandni Singh commented on YARN-7529: ------------------------------------- The test seemed to be failing because it wasn't waiting for the containers to be ready. Patch 1 uses {{waitForAllCompToBeReady}} to retrieve all the ready containers which should fix the problem. > TestYarnNativeServices#testRecoverComponentsAfterRMRestart() fails > intermittently > --------------------------------------------------------------------------------- > > Key: YARN-7529 > URL: https://issues.apache.org/jira/browse/YARN-7529 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Chandni Singh > Assignee: Chandni Singh > Fix For: yarn-native-services > > Attachments: YARN-7529.001.patch > > > java.lang.AssertionError: component container affected by restart > expected:<{}> but was:<{compb=[container_1510781886708_0001_01_000006, > container_1510781886708_0001_01_000005], > compa=[container_1510781886708_0001_01_000003, > container_1510781886708_0001_01_000002]}> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at > org.apache.hadoop.yarn.service.TestYarnNativeServices.testRecoverComponentsAfterRMRestart(TestYarnNativeServices.java:213) -- 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