Skip to content

AbstractClusterInvokerTest throws OutOfMemoryError #1756

@diecui1202

Description

@diecui1202

After replace easymock to mockito, when run unit test in the terminal,

mvn test -pl dubbo-cluster -Dtest=com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvokerTest

It fails, and the exception is:

-------------------------------------------------------------------------------
Test set: com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvokerTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 23.367 sec <<< FAILURE! - in com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvokerTest
com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvokerTest  Time elapsed: 22.21 sec  <<< ERROR!
java.lang.OutOfMemoryError: GC overhead limit exceeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions