@Test
public void testNodeCacheShouldNotRecycle() {

    int loop = 10000;
    //tmperately add a new invoker
    weightInvokers.add(weightInvokerTmp);
    try {
        Map<Invoker, InvokeResult> resultMap = getWeightedInvokeResult(loop, RoundRobinLoadBalance.NAME);
        assertStrictWRRResult(loop, resultMap);
        // inner nodes cache judgement
        RoundRobinLoadBalance lb = (RoundRobinLoadBalance) getLoadBalance(RoundRobinLoadBalance.NAME);
        Assertions.assertEquals(weightInvokers.size(), lb.getInvokerAddrList(weightInvokers, weightTestInvocation).size());
        weightInvokers.remove(weightInvokerTmp);
        resultMap = getWeightedInvokeResult(loop, RoundRobinLoadBalance.NAME);
        assertStrictWRRResult(loop, resultMap);
        Assertions.assertNotEquals(weightInvokers.size(), lb.getInvokerAddrList(weightInvokers, weightTestInvocation).size());
    } finally {
        //prevent other UT's failure
        weightInvokers.remove(weightInvokerTmp);
    }
}