Unit test failing: TestHostnameFilter
-------------------------------------
Key: OOZIE-662
URL: https://issues.apache.org/jira/browse/OOZIE-662
Project: Oozie
Issue Type: Bug
Reporter: Virag Kothari
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