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
After replace easymock to mockito, when run unit test in the terminal,
It fails, and the exception is: