Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1332

In TestAMRMClient, replace assertTrue with assertEquals where possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • Reviewed

    Description

      TestAMRMClient uses a lot of "assertTrue(amClient.ask.size() == 0)" where "assertEquals(0, amClient.ask.size())" would make it easier to see why it's failing at a glance.

      Attachments

        1. YARN-1332-3.patch
          17 kB
          Sebastian Wong

        Activity

          People

            swong15 Sebastian Wong
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: