diff options
author | Kevin McKiou <km097d@att.com> | 2017-10-27 12:52:36 -0500 |
---|---|---|
committer | Kevin McKiou <km097d@att.com> | 2017-10-27 12:53:20 -0500 |
commit | 8b201488c1337435da6d70fe19a00d206d71ecc0 (patch) | |
tree | 19089a26bb3c58913bf9261520f2d65837839abf /integrity-monitor/src/main | |
parent | 91ac137b2572203ed9aff1888b44ecd5f20ba785 (diff) |
Tweak testTransactionv1.1.0
Remove startTransaction from testTransaction since it does
nothing functionally and causes exceptions which are logged.
Issue-ID: POLICY-369
Change-Id: Idd064b49e1d68832d14039870414626ca56c779b
Signed-off-by: Kevin McKiou <km097d@att.com>
Diffstat (limited to 'integrity-monitor/src/main')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java index 9ac5adb6..ceb6d695 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java @@ -1002,14 +1002,10 @@ public class IntegrityMonitor { if(logger.isDebugEnabled()){ logger.debug("testTransaction called..."); } - // start Transaction - resets transaction timer and check admin state - try { - startTransaction(); - } catch (AdministrativeStateException | StandbyStatusException e) { - logger.error("IntegrityMonitor threw exception.", e); - } - - // TODO: add test functionality if needed + + // + // startTransaction() not required for testTransaction + // // end transaction - increments local FP counter endTransaction(); |