You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 21:40:10 UTC

[jira] [Created] (OOZIE-662) Unit test failing: TestHostnameFilter

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

        

[jira] [Commented] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "Alejandro Abdelnur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195089#comment-13195089 ] 

Alejandro Abdelnur commented on OOZIE-662:
------------------------------------------

This failure derives from differently configured host info. The test should check for contains instead of equals.
                
> 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

        

[jira] [Resolved] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "Alejandro Abdelnur (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved OOZIE-662.
--------------------------------------

    Resolution: Fixed
    
> 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

        

[jira] [Updated] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-662:
-------------------------------------

    Fix Version/s: 3.2.0
    
> 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
>             Fix For: 3.2.0
>
>
> 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

        

[jira] [Commented] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195137#comment-13195137 ] 

jiraposter@reviews.apache.org commented on OOZIE-662:
-----------------------------------------------------


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

Ship it!


+1

- Virag


On 2012-01-27 20:55:10, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3669/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-27 20:55:10)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  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.'
bq.  
bq.  
bq.  This addresses bug OOZIE-662.
bq.      https://issues.apache.org/jira/browse/OOZIE-662
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java 1236883 
bq.  
bq.  Diff: https://reviews.apache.org/r/3669/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> 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

        

[jira] [Assigned] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "Alejandro Abdelnur (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur reassigned OOZIE-662:
----------------------------------------

    Assignee: Alejandro Abdelnur
    
> 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

        

[jira] [Commented] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195158#comment-13195158 ] 

jiraposter@reviews.apache.org commented on OOZIE-662:
-----------------------------------------------------


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

Ship it!


+1

- Mohammad


On 2012-01-27 20:55:10, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3669/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-27 20:55:10)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  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.'
bq.  
bq.  
bq.  This addresses bug OOZIE-662.
bq.      https://issues.apache.org/jira/browse/OOZIE-662
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java 1236883 
bq.  
bq.  Diff: https://reviews.apache.org/r/3669/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> 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

        

[jira] [Commented] (OOZIE-662) Unit test failing: TestHostnameFilter

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195091#comment-13195091 ] 

jiraposter@reviews.apache.org 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