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

Akira Ajisaka updated MAPREDUCE-7093:
-------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.2.0
           Status: Resolved  (was: Patch Available)

Committed this to trunk. Thanks [~abmodi]!

> Use assertEquals instead of assertTrue(a == b) in 
> TestMapReduceJobControlWithMocks
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7093
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7093
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Abhishek Modi
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.2.0
>
>         Attachments: MAPREDUCE-7093.001.patch
>
>
> For example:{code}
>     assertTrue(job1.getJobState() == ControlledJob.State.SUCCESS);
> {code}
> should be
> {code}
>     assertEquals(ControlledJob.State.SUCCESS, job1.getJobState());
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to