Disabling Hystrix for a Feign test

This commit is contained in:
Marcin Grzejszczak
2016-07-19 10:19:32 +02:00
parent ee80b301e8
commit 8de8f60c2f

View File

@@ -81,7 +81,7 @@ import static org.springframework.cloud.sleuth.assertions.SleuthAssertions.then;
@RunWith(JUnitParamsRunner.class)
@SpringApplicationConfiguration(classes = { WebClientTests.TestConfiguration.class })
@WebIntegrationTest(value = { "spring.application.name=fooservice" }, randomPort = true)
@WebIntegrationTest(value = { "spring.application.name=fooservice", "feign.hystrix.enabled=false" }, randomPort = true)
@DirtiesContext
public class WebClientTests {