From 5edbeafceaca629e52a5fddcc21c19d2b6a7b34d Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Fri, 27 Mar 2020 17:29:28 +0100 Subject: [PATCH] Also run llmq-signing.py with spork21 enabled --- test/functional/llmq-signing.py | 6 ++++++ test/functional/test_runner.py | 1 + 2 files changed, 7 insertions(+) diff --git a/test/functional/llmq-signing.py b/test/functional/llmq-signing.py index 2262458f29..5b1aecde23 100755 --- a/test/functional/llmq-signing.py +++ b/test/functional/llmq-signing.py @@ -21,9 +21,15 @@ class LLMQSigningTest(DashTestFramework): self.set_dash_test_params(6, 5, fast_dip3_enforcement=True) self.set_dash_llmq_test_params(5, 3) + def add_options(self, parser): + parser.add_option("--spork21", dest="spork21", default=False, action="store_true", + help="Test with spork21 enabled") + def run_test(self): self.nodes[0].spork("SPORK_17_QUORUM_DKG_ENABLED", 0) + if self.options.spork21: + self.nodes[0].spork("SPORK_21_QUORUM_ALL_CONNECTED", 0) self.wait_for_sporks_same() self.mine_quorum() diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 1edcea5bd3..a3ba1a735f 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -69,6 +69,7 @@ BASE_SCRIPTS= [ 'listtransactions.py', 'multikeysporks.py', 'llmq-signing.py', # NOTE: needs dash_hash to pass + 'llmq-signing.py --spork21', # NOTE: needs dash_hash to pass 'llmq-chainlocks.py', # NOTE: needs dash_hash to pass 'llmq-connections.py', # NOTE: needs dash_hash to pass 'llmq-simplepose.py', # NOTE: needs dash_hash to pass