hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9393) TestRPC fails with JDK7
Date Mon, 11 Mar 2013 21:11:13 GMT

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

Andrew Wang updated HADOOP-9393:
--------------------------------

    Attachment: hadoop-9393-1.patch

Patch attached. It's simply wrapping these tests in a try/finally with #server.stop(). The
whitespace changes make this look huge, but I attached a {{git diff -w}} version of the patch
for easy review.

Tested by running {{TestRPC}} 10 times with JDK7, all passed.
                
> TestRPC fails with JDK7
> -----------------------
>
>                 Key: HADOOP-9393
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9393
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hadoop-9393-1.patch, hadoop-9393-1-whitespace.patch
>
>
> Since the test order is different with JDK7, we hit an error in {{TestRPC#testStopsAllThreads}}
on the initial assertEquals. This is because {{testRPCInterruptedSimple}} and {{testRPCInterrupted}}
don't stop the server after they finish, leaving some threads around.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message