Trying to make tests less brittle

This commit is contained in:
Marcin Grzejszczak
2019-04-12 11:56:09 +04:00
parent 173fb4ab26
commit 91a04edd42

View File

@@ -25,6 +25,7 @@ import brave.sampler.Sampler;
import net.jcip.annotations.NotThreadSafe;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -61,6 +62,7 @@ public class TracingOnScheduledTests {
ArrayListSpanReporter reporter;
@Before
@After
public void setup() {
this.beanWithScheduledMethod.clear();
this.beanWithScheduledMethodToBeIgnored.clear();