From bb456ffab28169a2565bb0e2e3dcf69f498a0471 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 17 Mar 2016 16:56:23 +0100 Subject: [PATCH] Trying to fix build --- .../cloud/sleuth/instrument/hystrix/TraceCommandTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/hystrix/TraceCommandTests.java b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/hystrix/TraceCommandTests.java index 02b89ae97..45254cada 100644 --- a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/hystrix/TraceCommandTests.java +++ b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/hystrix/TraceCommandTests.java @@ -36,6 +36,7 @@ import com.netflix.hystrix.HystrixCommandGroupKey; import com.netflix.hystrix.HystrixCommandKey; import com.netflix.hystrix.HystrixCommandProperties; import com.netflix.hystrix.HystrixThreadPoolProperties; +import com.netflix.hystrix.strategy.HystrixPlugins; import static com.netflix.hystrix.HystrixCommand.Setter.withGroupKey; import static com.netflix.hystrix.HystrixCommandGroupKey.Factory.asKey; @@ -50,6 +51,7 @@ public class TraceCommandTests { @Before public void setup() { + HystrixPlugins.reset(); TestSpanContextHolder.removeCurrentSpan(); }