You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ho...@apache.org on 2021/08/03 06:37:27 UTC
[dubbo] branch 3.0 updated: Clean shared state pollution to avoid
flaky tests. (#8401)
This is an automated email from the ASF dual-hosted git repository.
horizonzy pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new bb94723 Clean shared state pollution to avoid flaky tests. (#8401)
bb94723 is described below
commit bb94723f236d45d19e41a6b05468bcd9e0e60b79
Author: Yang Chen <56...@users.noreply.github.com>
AuthorDate: Tue Aug 3 14:37:15 2021 +0800
Clean shared state pollution to avoid flaky tests. (#8401)
Fix a flaky test.
Clean shared state pollution to avoid flaky tests.
---
.../test/java/org/apache/dubbo/rpc/filter/ExecuteLimitFilterTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/ExecuteLimitFilterTest.java b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/ExecuteLimitFilterTest.java
index dabdafa..4a8ba53 100644
--- a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/ExecuteLimitFilterTest.java
+++ b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/ExecuteLimitFilterTest.java
@@ -85,6 +85,7 @@ public class ExecuteLimitFilterTest {
executeLimitFilter.onError(e, invoker, invocation);
}
Assertions.assertEquals(1, RpcStatus.getStatus(url, invocation.getMethodName()).getFailed());
+ RpcStatus.removeStatus(url, invocation.getMethodName());
}
@Test