Wei-Chiu Chuang created HADOOP-14962:
----------------------------------------

             Summary: TestKDiag succeeds when it is expected to fail
                 Key: HADOOP-14962
                 URL: https://issues.apache.org/jira/browse/HADOOP-14962
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
            Reporter: Wei-Chiu Chuang


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

{noformat}
2017-10-18 15:18:39,114 ERROR security.TestKDiag 
(TestKDiag.java:kdiagFailure(107)) - Expected an exception in category LOGIN, 
return code 0
{noformat}
According the javadoc of kdiagFailure:
{quote}
Exec KDiag and expect a failure of a given category
{quote}
So it looks like it should have failed through, but it doesn't.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to