From 3315cd97c239f8a5773c36bfb3f78e0b16130ec4 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Mon, 29 Apr 2024 08:26:05 -0500 Subject: [PATCH] GH-58 Add test for finalizer with vote-threads=0 --- tests/separate_prod_fin_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/separate_prod_fin_test.py b/tests/separate_prod_fin_test.py index 8333c2978d..f49a94f64f 100755 --- a/tests/separate_prod_fin_test.py +++ b/tests/separate_prod_fin_test.py @@ -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 # ############################################################### @@ -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: