Code Review
/
msb
/
apigateway.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix powermock issue
[msb/apigateway.git]
/
apiroute
/
apiroute-service
/
src
/
test
/
java
/
org
/
onap
/
msb
/
apiroute
/
health
/
RedisHealthCheckTest.java
diff --git
a/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/RedisHealthCheckTest.java
b/apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/RedisHealthCheckTest.java
index
16b874e
..
95964af
100644
(file)
--- a/
apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/RedisHealthCheckTest.java
+++ b/
apiroute/apiroute-service/src/test/java/org/onap/msb/apiroute/health/RedisHealthCheckTest.java
@@
-25,6
+25,7
@@
import org.powermock.modules.junit4.PowerMockRunner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+
import com.codahale.metrics.health.HealthCheck.Result;
import com.fiftyonred.mock_jedis.MockJedisPool;
import com.codahale.metrics.health.HealthCheck.Result;
import com.fiftyonred.mock_jedis.MockJedisPool;
@@
-33,7
+34,7
@@
import redis.clients.jedis.JedisPoolConfig;
@RunWith(PowerMockRunner.class)
@PrepareForTest({JedisUtil.class, RedisAccessWrapper.class})
@RunWith(PowerMockRunner.class)
@PrepareForTest({JedisUtil.class, RedisAccessWrapper.class})
-@PowerMockIgnore({"javax.management.*"})
+@PowerMockIgnore({"javax.management.*"
, "jdk.internal.reflect.*"
})
public class RedisHealthCheckTest {
private static final Logger LOGGER = LoggerFactory.getLogger(RedisHealthCheckTest.class);
public class RedisHealthCheckTest {
private static final Logger LOGGER = LoggerFactory.getLogger(RedisHealthCheckTest.class);