Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14962

TestKDiag succeeds when it is expected to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • security
    • None

    Description

      I was trying to understand why TestKDiag fails intermittently, and found some TestKDiag tests are supposed to fail when they actually succeed.

      For example, testBasicLoginSkipped has the following error

      2017-10-18 15:18:39,114 ERROR security.TestKDiag (TestKDiag.java:kdiagFailure(107)) - Expected an exception in category LOGIN, return code 0
      

      According the javadoc of kdiagFailure:

      Exec KDiag and expect a failure of a given category

      So it looks like it should have failed, but it doesn't.

      Attachments

        Activity

          People

            Unassigned Unassigned
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: