You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.mockito.internal.verification.DefaultRegisteredInvocations#invocations, this is a List, it holds all the invocations in the for loop, so we can clear it after one invoke:
Activity
diecui1202 commentedon May 9, 2018
The failed testcase is:
diecui1202 commentedon May 9, 2018
After analyzing the heap dump,
org.mockito.internal.verification.DefaultRegisteredInvocations#invocations, this is a List, it holds all the invocations in the for loop, so we can clear it after one invoke:
beiwei30 commentedon May 9, 2018
or we can simply shrink
minandmaxto workaround this issue.fix apache#1756, clear mock invocation after invoking
diecui1202 commentedon May 9, 2018
@beiwei30 I get a PR to solve this problem, please help to review it. Thanks.
Fix #934 #1756 use loadBalance policy to choose invoke when providers…
Fix apache#934 apache#1756 use loadBalance policy to choose invoke wh…
fix default setting (#4955)