[ 
https://issues.apache.org/jira/browse/CHUKWA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated CHUKWA-456:
-----------------------------

    Attachment: CHUKWA-456.patch

Fix for test sock data loader unit test.  I can't reproduce Ari's problem in 
both MacOSX and Linux.

> 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.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
> [email protected]:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.webappcont...@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:<[...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[...@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.

Reply via email to