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 "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 01:15:51 UTC

[jira] [Created] (HADOOP-7836) TestSaslRPC#testDigestAuthMethodHostBasedToken fails with hostname localhost.localdomain

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

        

[jira] [Resolved] (HADOOP-7836) TestSaslRPC#testDigestAuthMethodHostBasedToken fails with hostname localhost.localdomain

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins resolved HADOOP-7836.
---------------------------------

          Resolution: Fixed
       Fix Version/s: 1.2.0
    Target Version/s:   (was: 1.1.0)

I've committed this, thanks Daryn!

Do we need a jira for the same test forward ported to trunk?
                
> 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
>             Fix For: 1.2.0
>
>         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