From b6063d4cd5cd3458f6655d6fd81416dec6d1d8bf Mon Sep 17 00:00:00 2001 From: yihuang Date: Thu, 31 Oct 2024 22:26:56 +0800 Subject: [PATCH] Problem: benchmark block stats is too long (#1668) 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)