Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7093

Use assertEquals instead of assertTrue(a == b) in TestMapReduceJobControlWithMocks

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: test
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      For example:

          assertTrue(job1.getJobState() == ControlledJob.State.SUCCESS);
      

      should be

          assertEquals(ControlledJob.State.SUCCESS, job1.getJobState());
      

        Attachments

          Activity

            People

            • Assignee:
              abmodi Abhishek Modi
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: