From 564b52929cc9bf0af31e8bb3349fd9a1d7e39687 Mon Sep 17 00:00:00 2001 From: HuangYi Date: Wed, 30 Oct 2024 13:24:12 +0800 Subject: [PATCH] Problem: benchmark block stats is too long Solution: - detect chain idle faster --- testground/benchmark/benchmark/stateless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testground/benchmark/benchmark/stateless.py b/testground/benchmark/benchmark/stateless.py index 0030fd1deb..ac07d83cfc 100644 --- a/testground/benchmark/benchmark/stateless.py +++ b/testground/benchmark/benchmark/stateless.py @@ -300,7 +300,7 @@ def do_run( print("sent", len(txs), "txs") # node quit when the chain is idle or halted for a while - detect_idle_halted(cfg["num_idle"], 20) + detect_idle_halted(cfg["num_idle"], 5) with (home / "block_stats.log").open("w") as logfile: dump_block_stats(logfile)