From a0d06fdcafb2ea76bdb73e212d608d31c2baad5a Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Mon, 9 Sep 2024 13:01:01 -0400 Subject: [PATCH] Add tests for --force-all-checks option in replay --- tests/nodeos_read_terminate_at_block_test.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/nodeos_read_terminate_at_block_test.py b/tests/nodeos_read_terminate_at_block_test.py index fe84ea09d1..465b8801ef 100755 --- a/tests/nodeos_read_terminate_at_block_test.py +++ b/tests/nodeos_read_terminate_at_block_test.py @@ -19,9 +19,10 @@ cmdError = Utils.cmdError relaunchTimeout = 10 numOfProducers = 1 -# One producing node, four regular terminate-at-block nodes, and three nodes +# One producing node, four regular terminate-at-block nodes, and six nodes # where replay snapshot through block logs with terminate-at-block -totalNodes = 8 +# and in combinations of --read-mode and --force-all-checks. +totalNodes = 11 # Parse command line arguments args = TestHelper.parse_args({ @@ -275,7 +276,10 @@ def executeSnapshotBlocklogTest(cluster, testNodeId, resultMsgs, nodeArgs, termA replayNodeosArgs = { 5 : "--read-mode irreversible", 6 : "--read-mode head", - 7 : "--read-mode speculative" + 7 : "--read-mode speculative", + 8 : "--read-mode irreversible --force-all-checks", + 9 : "--read-mode head --force-all-checks", + 10 : "--read-mode speculative --force-all-checks" } # combine all together