summaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-25 13:09:00 -0400
committerJim Hahn <jrh3@att.com>2021-06-25 13:10:04 -0400
commit1a4b8b99c9903847640363b36beceffcfe44e1ac (patch)
tree3b4757639c92faa751689421666ecd7dced36671 /main/src
parentbcb522a96d60e6b50383645f870100a72ee11db7 (diff)
Fix broken junits
Some junits are broken since adding the expiration timer. Changed the length of the heartbeat in an attempt to fix it. Issue-ID: POLICY-3407 Change-Id: I81046476e243a0bf20ae9db9259be4464418e73e Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/parameters/TestPdpParameters.java2
-rw-r--r--main/src/test/resources/parameters/PapConfigParametersStd.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/parameters/TestPdpParameters.java b/main/src/test/java/org/onap/policy/pap/main/parameters/TestPdpParameters.java
index 6f398c6f..19192dad 100644
--- a/main/src/test/java/org/onap/policy/pap/main/parameters/TestPdpParameters.java
+++ b/main/src/test/java/org/onap/policy/pap/main/parameters/TestPdpParameters.java
@@ -48,7 +48,7 @@ public class TestPdpParameters {
assertNotNull(state);
assertEquals(5, state.getMaxWaitMs());
- assertEquals(6L, params.getHeartBeatMs());
+ assertEquals(6000L, params.getHeartBeatMs());
assertEquals(20000L, params.getMaxMessageAgeMs());
diff --git a/main/src/test/resources/parameters/PapConfigParametersStd.json b/main/src/test/resources/parameters/PapConfigParametersStd.json
index a11782bc..211ab4e2 100644
--- a/main/src/test/resources/parameters/PapConfigParametersStd.json
+++ b/main/src/test/resources/parameters/PapConfigParametersStd.json
@@ -16,7 +16,7 @@
"maxRetryCount": 1,
"maxWaitMs": 5
},
- "heartBeatMs": 6,
+ "heartBeatMs": 6000,
"maxMessageAgeMs": 20000
},
"databaseProviderParameters": {