Please work

This commit is contained in:
Marcin Grzejszczak
2018-08-30 15:54:08 +02:00
parent d4e81d5dbf
commit f9578a5b69
3 changed files with 2 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ import feign.Request;
import feign.Response;
import org.springframework.beans.factory.BeanFactory;
class LazyClient implements Client {
class LazyClient implements Client {
private final BeanFactory beanFactory;
private final Client delegate;

View File

@@ -74,12 +74,9 @@ import static org.assertj.core.api.BDDAssertions.then;
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@TestPropertySource(properties = {
"spring.application.name=fooservice",
"spring.sleuth.sampler.probability=1.0",
"feign.hystrix.enabled=true",
"spring.sleuth.http.legacy.enabled=true",
"hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000",
"hystrix.command.default.execution.isolation.strategy=SEMAPHORE"})
@DirtiesContext
public class FeignClientServerErrorTests {
private static final Log log = LogFactory.getLog(FeignClientServerErrorTests.class);

View File

@@ -27,7 +27,7 @@ import org.springframework.web.client.RestTemplate;
* @author Spencer Gibb
*/
@SpringBootApplication
@EnableAsync
@EnableAsyncFeignClientServerErrorTests
public class SampleSleuthApplication {
@Bean