From 1a4b8b99c9903847640363b36beceffcfe44e1ac Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 25 Jun 2021 13:09:00 -0400 Subject: 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 --- .../java/org/onap/policy/pap/main/parameters/TestPdpParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/test/java') 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()); -- cgit 1.2.3-korg