BUG-9141: Fix Stateful07TopologySessionListener failing test 62/62962/1
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 11 Sep 2017 09:57:07 +0000 (11:57 +0200)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 11 Sep 2017 11:58:20 +0000 (13:58 +0200)
commit3688eac71469c248ad1c319435904070e8978388
tree9102b28bbfe67f40a765a1caded5097c7b0663e4
parente52966d2ceb9fdea1f0e7e1ee50d35e9639bf39b
BUG-9141: Fix Stateful07TopologySessionListener failing test

Some of the timers are rounding down, which is ending
on some statistics results in 0, when we have better
performance than expected.  Update the code to round up.

Use LongAdder instead of long for counters

Change-Id: I958f1c252ba94f8cd392979fe469555aee3f8d48
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/PCEPRequest.java
pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/SessionListenerState.java