v30.3-roots.1 · Commit 2: [PATCH 02/68] feat(runtime): preserve Roots operator controls on Core 30.3
test/functional/feature_config_args.py
Before: test/functional/feature_config_args.py · After: test/functional/feature_config_args.py
File metadata
index 441c21f03a34ee01ba163e4651873f288f4210bc..efa8b0d54accf0b9b5b166a159a047c44fcdd20a 100755
Download original patch · Release notes
Diff rows 1–16 of 16. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/feature_config_args.py
CHANGED
|
@@ -129,7 +129,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
|
| 129 |
with open(inc_conf_file_path, 'w', encoding='utf-8') as conf:
|
| 130 |
conf.write('reindex=1\n')
|
| 131 |
|
| 132 |
-
with self.nodes[0].assert_debug_log(expected_msgs=['Warning: reindex=1 is set in the configuration file, which will significantly slow down startup. Consider removing or commenting out this option for better performance, unless there is currently a condition which makes rebuilding the indexes necessary']):
|
| 133 |
self.start_node(0)
|
| 134 |
self.stop_node(0)
|
| 135 |
|
|
@@ -229,7 +229,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
|
| 229 |
)
|
| 230 |
|
| 231 |
def test_log_buffer(self):
|
| 232 |
-
with self.nodes[0].assert_debug_log(expected_msgs=['Warning: parsed potentially confusing double-negative -listen=0\n']):
|
| 233 |
self.start_node(0, extra_args=['-nolisten=0'])
|
| 234 |
self.stop_node(0)
|
| 235 |
|
|
|
|
| 129 |
with open(inc_conf_file_path, 'w', encoding='utf-8') as conf:
|
| 130 |
conf.write('reindex=1\n')
|
| 131 |
|
| 132 |
+
with self.nodes[0].assert_debug_log(expected_msgs=['[warning] reindex=1 is set in the configuration file, which will significantly slow down startup. Consider removing or commenting out this option for better performance, unless there is currently a condition which makes rebuilding the indexes necessary']):
|
| 133 |
self.start_node(0)
|
| 134 |
self.stop_node(0)
|
| 135 |
|
|
|
|
| 229 |
)
|
| 230 |
|
| 231 |
def test_log_buffer(self):
|
| 232 |
+
with self.nodes[0].assert_debug_log(expected_msgs=['[warning] Parsed potentially confusing double-negative -listen=0']):
|
| 233 |
self.start_node(0, extra_args=['-nolisten=0'])
|
| 234 |
self.stop_node(0)
|
| 235 |
|