Skip to content

Commit 9cb43c2

Browse files
Merge #6670: test: fix feature_pruning.py
db96c92 test: fix `feature_pruning.py` (UdjinM6) Pull request description: ## Issue being fixed or feature implemented `feature_pruning.py` is broken atm. We don't run it in CI so the issue wasn't noticed in time. ## What was done? ## How Has This Been Tested? run `feature_pruning.py` ## Breaking Changes n/a ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: PastaPastaPasta: utACK db96c92 Tree-SHA512: df0328a0bb08ed953c57e39c10648020a179c22c254e2d2edff44388fe31ff4053f5c4a61429aac30093754febe3c883086560fb3b66d0d9e390d1a1d7138b97
2 parents 9c4e772 + db96c92 commit 9cb43c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_pruning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def create_big_chain(self):
136136
self.sync_blocks(self.nodes[0:5])
137137

138138
def test_invalid_command_line_options(self):
139-
self.stop_node(0)
139+
self.stop_node(0, expected_stderr=EXPECTED_STDERR_NO_GOV_PRUNE)
140140
self.nodes[0].assert_start_raises_init_error(
141141
expected_msg='Error: Prune cannot be configured with a negative value.',
142142
extra_args=['-prune=-1', '-txindex=0', '-disablegovernance'],

0 commit comments

Comments
 (0)