From 625f16868b5e9100a67fb11e471c412c554e8551 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Sat, 3 Feb 2024 19:26:25 +0100 Subject: [PATCH] test: Remove test --- test/functional/feature_fastprune.py | 29 ---------------------------- test/functional/test_runner.py | 1 - 2 files changed, 30 deletions(-) delete mode 100755 test/functional/feature_fastprune.py diff --git a/test/functional/feature_fastprune.py b/test/functional/feature_fastprune.py deleted file mode 100755 index c913c4f93a..0000000000 --- a/test/functional/feature_fastprune.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python3 -# Copyright (c) 2023 The Bitcoin Core developers -# Distributed under the MIT software license, see the accompanying -# file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Test fastprune mode.""" -from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import ( - assert_equal -) -from test_framework.wallet import MiniWallet - - -class FeatureFastpruneTest(BitcoinTestFramework): - def set_test_params(self): - self.num_nodes = 1 - self.extra_args = [["-fastprune"]] - - def run_test(self): - self.log.info("ensure that large blocks don't crash or freeze in -fastprune") - wallet = MiniWallet(self.nodes[0]) - tx = wallet.create_self_transfer()['tx'] - annex = b"\x50" + b"\xff" * 0x10000 - tx.wit.vtxinwit[0].scriptWitness.stack.append(annex) - self.generateblock(self.nodes[0], output="raw(55)", transactions=[tx.serialize().hex()]) - assert_equal(self.nodes[0].getblockcount(), 201) - - -if __name__ == '__main__': - FeatureFastpruneTest().main() diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index c80f5f2f4e..efade1631a 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -336,7 +336,6 @@ 'feature_includeconf.py', 'feature_addrman.py', 'feature_asmap.py', - 'feature_fastprune.py', 'mempool_unbroadcast.py', 'mempool_compatibility.py', 'mempool_accept_wtxid.py',