Skip to content

Commit

Permalink
test: Fix potential flaky test cases in TracerTest (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
zcai2 authored Nov 27, 2020
1 parent 7920243 commit 6f7d4d0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f7d4d0

Please sign in to comment.