diff --git a/e2e-bfd-test/src/test/java/gov/cms/ab2d/SpringBootApp.java b/e2e-bfd-test/src/test/java/gov/cms/ab2d/SpringBootApp.java index 325e0c353..73029b44c 100644 --- a/e2e-bfd-test/src/test/java/gov/cms/ab2d/SpringBootApp.java +++ b/e2e-bfd-test/src/test/java/gov/cms/ab2d/SpringBootApp.java @@ -7,6 +7,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.FeignAutoConfiguration; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; +import org.springframework.retry.annotation.EnableRetry; @SpringBootApplication(scanBasePackages = { "gov.cms.ab2d.bfd.client", @@ -28,6 +29,7 @@ @EnableJpaRepositories(basePackages = {"gov.cms.ab2d.common.repository", "gov.cms.ab2d.job.repository", "gov.cms.ab2d.coverage.repository"}) @EnableFeignClients(clients = {ContractFeignClient.class}) +@EnableRetry @ImportAutoConfiguration({FeignAutoConfiguration.class}) public class SpringBootApp { diff --git a/e2e-bfd-test/src/test/java/gov/cms/ab2d/testjobs/CapabilityTest.java b/e2e-bfd-test/src/test/java/gov/cms/ab2d/testjobs/CapabilityTest.java index 2d0b75113..46c3ba8fc 100644 --- a/e2e-bfd-test/src/test/java/gov/cms/ab2d/testjobs/CapabilityTest.java +++ b/e2e-bfd-test/src/test/java/gov/cms/ab2d/testjobs/CapabilityTest.java @@ -23,7 +23,6 @@ @ComponentScan(basePackages = {"gov.cms.ab2d.bfd.client"}) @Testcontainers @DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS) -@EnableFeignClients(clients = {ContractFeignClient.class}) public class CapabilityTest { @Autowired private BFDClient bfdClient;