hadoop-mapreduce-dev mailing list archives

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

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org


Mime
View raw message