v29.4-roots.2 · Commit 10: [PATCH 10/21] fix: harden final Roots assurance
test/functional/feature_config_args.py
Before: test/functional/feature_config_args.py · After: test/functional/feature_config_args.py
File metadata
index 12a82ced9c32575df8bdd0d00a43cf2d0e61a5fc..990b26909c6180180a7712d54a0198ed0942cc56 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
|
@@ -131,7 +131,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
|
| 131 |
with open(inc_conf_file_path, 'w', encoding='utf-8') as conf:
|
| 132 |
conf.write('reindex=1\n')
|
| 133 |
|
| 134 |
-
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']):
|
| 135 |
self.start_node(0)
|
| 136 |
self.stop_node(0)
|
| 137 |
|
|
@@ -231,7 +231,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
|
| 231 |
)
|
| 232 |
|
| 233 |
def test_log_buffer(self):
|
| 234 |
-
with self.nodes[0].assert_debug_log(expected_msgs=['Warning: parsed potentially confusing double-negative -listen=0\n']):
|
| 235 |
self.start_node(0, extra_args=['-nolisten=0'])
|
| 236 |
self.stop_node(0)
|
| 237 |
|
|
|
|
| 131 |
with open(inc_conf_file_path, 'w', encoding='utf-8') as conf:
|
| 132 |
conf.write('reindex=1\n')
|
| 133 |
|
| 134 |
+
with self.nodes[0].assert_debug_log(expected_msgs=['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']):
|
| 135 |
self.start_node(0)
|
| 136 |
self.stop_node(0)
|
| 137 |
|
|
|
|
| 231 |
)
|
| 232 |
|
| 233 |
def test_log_buffer(self):
|
| 234 |
+
with self.nodes[0].assert_debug_log(expected_msgs=['Parsed potentially confusing double-negative -listen=0']):
|
| 235 |
self.start_node(0, extra_args=['-nolisten=0'])
|
| 236 |
self.stop_node(0)
|
| 237 |
|