From 92bd4ccd269716c8f780102da6410e43e8af9650 Mon Sep 17 00:00:00 2001 From: tinker-michaelj Date: Mon, 5 Apr 2021 12:25:30 -0500 Subject: [PATCH] Use a longer steady-state period to get more predictable BUSY percent in SteadyStateThrottlingCheck Signed-off-by: tinker-michaelj --- .../bdd/suites/regression/SteadyStateThrottlingCheck.java | 4 ++-- .../services/bdd/suites/schedule/ScheduleSignSpecs.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test-clients/src/main/java/com/hedera/services/bdd/suites/regression/SteadyStateThrottlingCheck.java b/test-clients/src/main/java/com/hedera/services/bdd/suites/regression/SteadyStateThrottlingCheck.java index 50dcaf654d6b..677c6f156a2f 100644 --- a/test-clients/src/main/java/com/hedera/services/bdd/suites/regression/SteadyStateThrottlingCheck.java +++ b/test-clients/src/main/java/com/hedera/services/bdd/suites/regression/SteadyStateThrottlingCheck.java @@ -82,9 +82,9 @@ public class SteadyStateThrottlingCheck extends HapiApiSuite { private static final double expectedContractCallTps = PRIORITY_RESERVATIONS_CONTRACT_CALL_NETWORK_TPS / NETWORK_SIZE; private static final double expectedCryptoCreateTps = CREATION_LIMITS_CRYPTO_CREATE_NETWORK_TPS / NETWORK_SIZE; private static final double expectedGetBalanceQps = FREE_QUERY_LIMITS_GET_BALANCE_NETWORK_QPS / NETWORK_SIZE; - private static final double toleratedPercentDeviation = 6.0; + private static final double toleratedPercentDeviation = 5; - private AtomicLong duration = new AtomicLong(120); + private AtomicLong duration = new AtomicLong(180); private AtomicReference unit = new AtomicReference<>(SECONDS); private AtomicInteger maxOpsPerSec = new AtomicInteger(500); diff --git a/test-clients/src/main/java/com/hedera/services/bdd/suites/schedule/ScheduleSignSpecs.java b/test-clients/src/main/java/com/hedera/services/bdd/suites/schedule/ScheduleSignSpecs.java index 024251927fc9..e71af43cd434 100644 --- a/test-clients/src/main/java/com/hedera/services/bdd/suites/schedule/ScheduleSignSpecs.java +++ b/test-clients/src/main/java/com/hedera/services/bdd/suites/schedule/ScheduleSignSpecs.java @@ -52,7 +52,6 @@ import static com.hederahashgraph.api.proto.java.ResponseCodeEnum.NO_NEW_VALID_SIGNATURES; import static com.hederahashgraph.api.proto.java.ResponseCodeEnum.SCHEDULE_ALREADY_EXECUTED; import static com.hederahashgraph.api.proto.java.ResponseCodeEnum.SOME_SIGNATURES_WERE_INVALID; -import static com.hederahashgraph.api.proto.java.ResponseCodeEnum.SUCCESS; public class ScheduleSignSpecs extends HapiApiSuite { private static final Logger log = LogManager.getLogger(ScheduleSignSpecs.class);