You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Santiago M. Mola (JIRA)" <ji...@apache.org> on 2015/02/19 15:30:12 UTC

[jira] [Created] (FLUME-2629) Improve RpcClient unit tests

Santiago M. Mola created FLUME-2629:
---------------------------------------

             Summary: Improve RpcClient unit tests
                 Key: FLUME-2629
                 URL: https://issues.apache.org/jira/browse/FLUME-2629
             Project: Flume
          Issue Type: Improvement
            Reporter: Santiago M. Mola
            Assignee: Santiago M. Mola


There is some room for improvement in RpcClient-related tests:

- Some of them use Avro and Thrift servers that are not needed (most of the time). This makes them unnecessarily slower and, in some cases, unstable.

- There is a lot of reliance on Thread.sleep(arbitraryTime) hoping that *something* happens meanwhile. These tests are unstable in some environments where arbitraryTime is too low.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)