You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/03/29 18:24:27 UTC

[jira] Commented: (CHUKWA-456) Fix test failing test cases

    [ https://issues.apache.org/jira/browse/CHUKWA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850974#action_12850974 ] 

Hudson commented on CHUKWA-456:
-------------------------------

Integrated in Chukwa-trunk #330 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/])
    . Remove /tmp/chukwa/hicc during test phase to prevent bad data building up and prevent test case to run properly. (Eric Yang)
. Remove /tmp/chukwa/hicc during test phase to prevent bad data building up and prevent test case to run properly. (Eric Yang)


> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.