You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2017/10/18 22:25:01 UTC
[jira] [Created] (HADOOP-14962) TestKDiag succeeds when it is
expected to fail
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org