Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18830

TestCanaryTool does not check Canary monitor's error code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 1.3.3, 2.0.0
    • None
    • None
    • Reviewed

    Description

      None of the tests inside TestCanaryTool check Canary monitor's error code. Thus, it is possible that the monitor has registered an error and yet the tests pass. We should check the value returned by the ToolRunner.run() method inside each unit test.

      Attachments

        1. HBASE-18830.001.patch
          5 kB
          Chinmay Kulkarni

        Activity

          People

            ckulkarni Chinmay Kulkarni
            ckulkarni Chinmay Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: