hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Modi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-7093) Use assertEquals instead of assertTrue(a == b) in TestMapReduceJobControlWithMocks
Date Thu, 03 May 2018 18:08:00 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-7093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462879#comment-16462879
] 

Abhishek Modi commented on MAPREDUCE-7093:
------------------------------------------

[~ajisakaa] can I work on this. Could you please assign this to me. Thanks

> 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: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>            Priority: Minor
>              Labels: newbie
>
> 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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message