[ 
https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195091#comment-13195091
 ] 

[email protected] commented on OOZIE-662:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3669/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

OOZIE-662. Unit test failing: TestHostnameFilter. As stated in the JIRA 'This 
failure derives from differently configured host info. The test should check 
for contains instead of equals.'


This addresses bug OOZIE-662.
    https://issues.apache.org/jira/browse/OOZIE-662


Diffs
-----

  trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java 
1236883 

Diff: https://reviews.apache.org/r/3669/diff


Testing
-------


Thanks,

Alejandro


                
> Unit test failing: TestHostnameFilter
> -------------------------------------
>
>                 Key: OOZIE-662
>                 URL: https://issues.apache.org/jira/browse/OOZIE-662
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>            Assignee: Alejandro Abdelnur
>
> Test set: org.apache.oozie.servlet.TestHostnameFilter
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec <<< 
> FAILURE!
> testHostname(org.apache.oozie.servlet.TestHostnameFilter)  Time elapsed: 
> 0.156 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<....localdomain> but was:<...>
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at junit.framework.Assert.assertEquals(Assert.java:87)
>         at 
> org.apache.oozie.servlet.TestHostnameFilter$1.doFilter(TestHostnameFilter.java:48)
>         at 
> org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:67)
>         at 
> org.apache.oozie.servlet.TestHostnameFilter.testHostname(TestHostnameFilter.java:56)

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