hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Wong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1332) In TestAMRMClient, replace assertTrue with assertEquals where possible
Date Tue, 26 Nov 2013 03:31:36 GMT

     [ https://issues.apache.org/jira/browse/YARN-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastian Wong updated YARN-1332:
---------------------------------

    Attachment:     (was: YARN-1332.patch)

> In TestAMRMClient, replace assertTrue with assertEquals where possible
> ----------------------------------------------------------------------
>
>                 Key: YARN-1332
>                 URL: https://issues.apache.org/jira/browse/YARN-1332
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Sandy Ryza
>            Assignee: Sebastian Wong
>            Priority: Minor
>              Labels: newbie
>         Attachments: YARN-1332-3.patch
>
>
> TestAMRMClient uses a lot of "assertTrue(amClient.ask.size() == 0)" where "assertEquals(0,
amClient.ask.size())" would make it easier to see why it's failing at a glance.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message