You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Abhishek Modi (JIRA)" <ji...@apache.org> on 2018/05/03 18:43:00 UTC
[jira] [Updated] (MAPREDUCE-7093) Use assertEquals instead of
assertTrue(a == b) in TestMapReduceJobControlWithMocks
[ https://issues.apache.org/jira/browse/MAPREDUCE-7093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Modi updated MAPREDUCE-7093:
-------------------------------------
Status: Patch Available (was: Open)
> 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
> Assignee: Abhishek Modi
> Priority: Minor
> Labels: newbie
> 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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org