瀏覽代碼

test: Fix potential flaky test cases in TracerTest (#1859)

master
zcai2 GitHub 4 年之前
父節點
當前提交
6f7d4d09e2
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      sentinel-core/src/test/java/com/alibaba/csp/sentinel/TracerTest.java

+ 2
- 0
sentinel-core/src/test/java/com/alibaba/csp/sentinel/TracerTest.java 查看文件

@@ -17,12 +17,14 @@ public class TracerTest extends Tracer {
public void setUp() {
ContextTestUtil.cleanUpContext();
ContextTestUtil.resetContextMap();
Tracer.exceptionPredicate = null;
}

@After
public void tearDown() {
ContextTestUtil.cleanUpContext();
ContextTestUtil.resetContextMap();
Tracer.exceptionPredicate = null;
}

@Test


Loading…
取消
儲存