我想测试我的spring项目。我需要在测试类中模拟假装客户端,但正常实现将自动装配而不是模拟实现。这里是我的代码的顶部。 plz帮助。 @Profile("test")
@Primary
@Component
public class PushDevClientMock implements PushDevClient {
//apiKey is needed for comminuca
当使用FeignClient使用在SQL Server中执行查询的服务时,我的应用程序正在收到错误。 错误: Exception in thread "pool-10-thread-14" feign.RetryableException: Read timed out executing GET http://127.0.0.1:8876/processoData/search/buscaPro