diff --git a/sentinel-core/src/test/java/com/alibaba/csp/sentinel/TracerTest.java b/sentinel-core/src/test/java/com/alibaba/csp/sentinel/TracerTest.java index 7acb3d7e..3f383377 100644 --- a/sentinel-core/src/test/java/com/alibaba/csp/sentinel/TracerTest.java +++ b/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