From e082710eaff7ef813f474e8adc56358dab8debc5 Mon Sep 17 00:00:00 2001 From: seanbeirne Date: Mon, 6 Nov 2023 13:34:33 +0000 Subject: Use Seconds as time unit for all performance tests -updated recordAndAssertResourceUsage Issue-ID: CPS-1941 Signed-off-by: seanbeirne Change-Id: I62f42c7ab396e555d54a7280ebc7da8804045667 --- .../src/test/java/org/onap/cps/integration/ResourceMeter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration-test/src/test/java/org/onap') 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(); } /** -- cgit 1.2.3-korg