Skip to content

Commit

Permalink
Clean shared state pollution to avoid flaky tests. (#8401)
Browse files Browse the repository at this point in the history
Fix a flaky test.

Clean shared state pollution to avoid flaky tests.
  • Loading branch information
LALAYANG authored Aug 3, 2021
1 parent b2fc28a commit bb94723
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void testExecuteLimitInvokeWitException() throws Exception {
executeLimitFilter.onError(e, invoker, invocation);
}
Assertions.assertEquals(1, RpcStatus.getStatus(url, invocation.getMethodName()).getFailed());
RpcStatus.removeStatus(url, invocation.getMethodName());
}

@Test
Expand Down

0 comments on commit bb94723

Please sign in to comment.