TestSaslRPC#testDigestAuthMethodHostBasedToken fails with hostname
localhost.localdomain
----------------------------------------------------------------------------------------
Key: HADOOP-7836
URL: https://issues.apache.org/jira/browse/HADOOP-7836
Project: Hadoop Common
Issue Type: Bug
Components: ipc, test
Affects Versions: 0.20.206.0
Reporter: Eli Collins
Priority: Minor
TestSaslRPC#testDigestAuthMethodHostBasedToken fails with the following if the
localhost.localdomain is listed before localhost in the hosts file.
Testcase: testDigestAuthMethodHostBasedToken took 0.292 sec
FAILED
null expected:<localhost[]> but was:<localhost[.localdomain]>
junit.framework.ComparisonFailure: null expected:<localhost[]> but
was:<localhost[.localdomain]>
at
org.apache.hadoop.ipc.TestSaslRPC.testDigestAuthMethod(TestSaslRPC.java:384)
at
org.apache.hadoop.ipc.TestSaslRPC.testDigestAuthMethodHostBasedToken(TestSaslRPC.java:414)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira