From 834c47aad2181c59993f1502fa1c459bee1a4c9e Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 14 May 2018 14:02:25 +0200 Subject: [PATCH] Trying to make tests more resilient --- .../client/feign/servererrors/FeignClientServerErrorTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/servererrors/FeignClientServerErrorTests.java b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/servererrors/FeignClientServerErrorTests.java index 33074a3e0..7715e9676 100644 --- a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/servererrors/FeignClientServerErrorTests.java +++ b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/servererrors/FeignClientServerErrorTests.java @@ -75,7 +75,8 @@ import static org.assertj.core.api.BDDAssertions.then; "spring.application.name=fooservice" , "feign.hystrix.enabled=true", "spring.sleuth.http.legacy.enabled=true", - "hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000"}) + "hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000", + "hystrix.command.default.execution.isolation.strategy=SEMPAHORE"}) @DirtiesContext public class FeignClientServerErrorTests {