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 "Akihiro Suda (JIRA)" <ji...@apache.org> on 2016/01/05 11:28:39 UTC

[jira] [Created] (YARN-4543) TestNodeStatusUpdater.testStopReentrant fails + JUnit misusage

Akihiro Suda created YARN-4543:
----------------------------------

             Summary: TestNodeStatusUpdater.testStopReentrant fails + JUnit misusage
                 Key: YARN-4543
                 URL: https://issues.apache.org/jira/browse/YARN-4543
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
            Reporter: Akihiro Suda
            Priority: Minor


{panel}
TestNodeStatusUpdater.testStopReentrant:1269 expected:<0> but was:<1>
{panel}

https://github.com/apache/hadoop/blob/4ac6799d4a8b071e0d367c2d709e84d8ea06942d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeStatusUpdater.java#L1269

The corresponding  JUnit assertion code is: 
{panel}
 Assert.assertEquals(numCleanups.get(), 1);
{panel}

It seems that the 1st arg and the 2nd one should be swapped.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)