[#148] Reseting the custom concurrency strategy before test class

This commit is contained in:
Marcin Grzejszczak
2016-02-09 10:34:30 +01:00
parent ebfe276ced
commit b4e85d04d8

View File

@@ -19,6 +19,7 @@ import org.springframework.context.ApplicationEventPublisher;
import com.netflix.hystrix.HystrixCommandProperties;
import com.netflix.hystrix.HystrixThreadPoolProperties;
import com.netflix.hystrix.strategy.HystrixPlugins;
public class TraceCommandTests {
@@ -28,6 +29,7 @@ public class TraceCommandTests {
@Before
public void setup() {
HystrixPlugins.reset();
TestSpanContextHolder.removeCurrentSpan();
}