Skip to content

Commit

Permalink
GH-58 Add test for finalizer with vote-threads=0
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 29, 2024
1 parent d916240 commit 3315cd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/separate_prod_fin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# 3 non-producer nodes; each of them has a finalizer key. Since threshold is 4,
# if LIB advances, it implies at least 2 non-producer finalizer participates in
# the finalization process.
# Also verifies finalizer can run with vote-threads=0
#
###############################################################

Expand Down Expand Up @@ -43,6 +44,9 @@
# For now do not load system contract as it does not support setfinalizer
# separate_prod_fin_test_shape.json defines 2 producer nodes each has 1
# producer and 3 non-producer nodes
specificExtraNodeosArgs={}
specificExtraNodeosArgs[total_nodes-1]="--vote-threads 0 "
specificExtraNodeosArgs[total_nodes-2]="--vote-threads 0 "
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, totalProducers=pnodes,
topo="./tests/separate_prod_fin_test_shape.json", delay=delay,
activateIF=True, signatureProviderForNonProducer=True) is False:
Expand Down

0 comments on commit 3315cd9

Please sign in to comment.