Skip to content

Commit

Permalink
Use a longer steady-state period to get more predictable BUSY percent…
Browse files Browse the repository at this point in the history
… in SteadyStateThrottlingCheck

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>
  • Loading branch information
tinker-michaelj committed Apr 5, 2021
1 parent 6c31496 commit 92bd4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<TimeUnit> unit = new AtomicReference<>(SECONDS);
private AtomicInteger maxOpsPerSec = new AtomicInteger(500);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 92bd4cc

Please sign in to comment.