fix powermock issue
[msb/apigateway.git] / apiroute / apiroute-service / src / test / java / org / onap / msb / apiroute / health / OpenRestyHealthCheckTest.java
index 2a22e5a..620adf7 100644 (file)
@@ -22,11 +22,15 @@ 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.OpenRestyHealthCheck;
+
 
 import com.codahale.metrics.health.HealthCheck.Result;
 
 @RunWith(PowerMockRunner.class)
-@PrepareForTest({HttpClientUtil.class, OpenRestyHealthCheck.class})
+@PrepareForTest({HttpClientUtil.class})
+@PowerMockIgnore("jdk.internal.reflect.*")
 public class OpenRestyHealthCheckTest {
     private static final Logger LOGGER = LoggerFactory.getLogger(OpenRestyHealthCheckTest.class);