You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 04:27:26 UTC
[jira] [Created] (HADOOP-8218) RPC.closeProxy shouldn't throw error
when closing a mock
RPC.closeProxy shouldn't throw error when closing a mock
--------------------------------------------------------
Key: HADOOP-8218
URL: https://issues.apache.org/jira/browse/HADOOP-8218
Project: Hadoop Common
Issue Type: Bug
Components: ipc, test
Affects Versions: 0.24.0
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Priority: Critical
HADOOP-8202 changed the behavior of RPC.stopProxy() to throw an exception if called on an object which doesn't implement Closeable. Unfortunately, we use mock objects in many test cases, and those mocks don't implement Closeable. This is causing TestZKFailoverController to fail in trunk, for example.
--
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