X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=apiroute%2Fapiroute-service%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fmsb%2Fapiroute%2Fhealth%2FConsulLinkHealthCheckTest.java;h=50fd1ff20a12eafb81df2c0ca48f5758e82d5998;hb=68cc488d5e90fedbe0286806d1490e1677ff8395;hp=2b1bc4f588b7592b57b27616cff30cdd73c6b681;hpb=6f323f32447674c5df56e944b373f6f534231510;p=msb%2Fapigateway.git diff --git a/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/ConsulLinkHealthCheckTest.java b/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/ConsulLinkHealthCheckTest.java index 2b1bc4f..50fd1ff 100644 --- a/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/ConsulLinkHealthCheckTest.java +++ b/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/ConsulLinkHealthCheckTest.java @@ -22,11 +22,14 @@ import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.powermock.core.classloader.annotations.PowerMockIgnore; +import org.onap.msb.apiroute.health.ConsulLinkHealthCheck; import com.codahale.metrics.health.HealthCheck.Result; @RunWith(PowerMockRunner.class) -@PrepareForTest({HttpClientUtil.class, ConsulLinkHealthCheck.class}) +@PrepareForTest({HttpClientUtil.class}) +@PowerMockIgnore("jdk.internal.reflect.*") public class ConsulLinkHealthCheckTest { private static final Logger LOGGER = LoggerFactory.getLogger(ConsulLinkHealthCheckTest.class);