Skip to content

Commit

Permalink
Merge pull request #726 from AntelopeIO/force_all_checks_tests
Browse files Browse the repository at this point in the history
[1.0.1] Add tests for --force-all-checks option in replay
  • Loading branch information
linh2931 authored Sep 11, 2024
2 parents 5326f62 + cfd1162 commit 7d6fd0d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/nodeos_read_terminate_at_block_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7d6fd0d

Please sign in to comment.