[ 
https://issues.apache.org/jira/browse/HADOOP-7836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daryn Sharp updated HADOOP-7836:
--------------------------------

    Attachment: HADOOP-7836.patch

Actually, the test is flawed.  It's using the address the rpc server is 
reporting to set the service.  However, it is the client's responsibility to 
set the token service since the server has no way to know exactly what 
hostname/ip the client used.

Eli, please see if this fixes the issue for you.
                
> 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: 1.1.0
>            Reporter: Eli Collins
>            Priority: Minor
>         Attachments: HADOOP-7836.patch, hadoop-7836.txt
>
>
> TestSaslRPC#testDigestAuthMethodHostBasedToken fails on branch-1 on some 
> hosts.
> null expected:<localhost[]> but was:<localhost[.localdomain]>
> junit.framework.ComparisonFailure: null expected:<localhost[]> but 
> was:<localhost[.localdomain]>
> null expected:<[localhost]> but was:<[eli-thinkpad]>
> junit.framework.ComparisonFailure: null expected:<[localhost]> but 
> was:<[eli-thinkpad]>

--
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

        

Reply via email to