summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/java
diff options
context:
space:
mode:
authorseanbeirne <sean.beirne@est.tech>2023-11-06 13:34:33 +0000
committerseanbeirne <sean.beirne@est.tech>2023-11-08 14:49:01 +0000
commite082710eaff7ef813f474e8adc56358dab8debc5 (patch)
tree6574021e60ae1e3c8795b516a4430b171d15f2ea /integration-test/src/test/java
parent4fb19b0a6b3b2a17ffb78ef51091ea87ca9bc2e3 (diff)
Use Seconds as time unit for all performance tests
-updated recordAndAssertResourceUsage Issue-ID: CPS-1941 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I62f42c7ab396e555d54a7280ebc7da8804045667
Diffstat (limited to 'integration-test/src/test/java')
-rw-r--r--integration-test/src/test/java/org/onap/cps/integration/ResourceMeter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-test/src/test/java/org/onap/cps/integration/ResourceMeter.java b/integration-test/src/test/java/org/onap/cps/integration/ResourceMeter.java
index c6ad96e917..1e420013d4 100644
--- a/integration-test/src/test/java/org/onap/cps/integration/ResourceMeter.java
+++ b/integration-test/src/test/java/org/onap/cps/integration/ResourceMeter.java
@@ -51,8 +51,8 @@ public class ResourceMeter {
* Get the total time in milliseconds.
* @return total time in milliseconds
*/
- public long getTotalTimeMillis() {
- return stopWatch.getTotalTimeMillis();
+ public double getTotalTimeInSeconds() {
+ return stopWatch.getTotalTimeSeconds();
}
/**