diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-10 18:02:31 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-10-29 13:34:52 +0200 |
commit | facc352648e4fe1ed9b406400b6e4a9d51f30349 (patch) | |
tree | 7bba05900db761f91c0b416985a3a774984bfd49 /test/functional/feature_abortnode.py | |
parent | 5574881ce329f91cc5bbc2b9585860a45fde7c3c (diff) |
test: Implicitly sync after generate*, unless opted out
Diffstat (limited to 'test/functional/feature_abortnode.py')
-rwxr-xr-x | test/functional/feature_abortnode.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/feature_abortnode.py b/test/functional/feature_abortnode.py index e3cb7725bd..bb67dc88a6 100755 --- a/test/functional/feature_abortnode.py +++ b/test/functional/feature_abortnode.py @@ -26,7 +26,7 @@ class AbortNodeTest(BitcoinTestFramework): # We'll connect the nodes later def run_test(self): - self.generate(self.nodes[0], 3) + self.generate(self.nodes[0], 3, sync_fun=self.no_op) datadir = get_datadir_path(self.options.tmpdir, 0) # Deleting the undo file will result in reorg failure @@ -34,10 +34,10 @@ class AbortNodeTest(BitcoinTestFramework): # Connecting to a node with a more work chain will trigger a reorg # attempt. - self.generate(self.nodes[1], 3) + self.generate(self.nodes[1], 3, sync_fun=self.no_op) with self.nodes[0].assert_debug_log(["Failed to disconnect block"]): self.connect_nodes(0, 1) - self.generate(self.nodes[1], 1) + self.generate(self.nodes[1], 1, sync_fun=self.no_op) # Check that node0 aborted self.log.info("Waiting for crash") |