We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-maxuploadtarget
2 parents 98042a0 + 7a83aa0 commit 437dfe1Copy full SHA for 437dfe1
test/functional/feature_maxuploadtarget.py
@@ -164,6 +164,9 @@ def run_test(self):
164
assert_equal(len(peer_info), 1) # node is still connected
165
assert_equal(peer_info[0]['permissions'], ['download'])
166
167
+ self.log.info("Test passing an unparsable value to -maxuploadtarget throws an error")
168
+ self.stop_node(0)
169
+ self.nodes[0].assert_start_raises_init_error(extra_args=["-maxuploadtarget=abc"], expected_msg="Error: Unable to parse -maxuploadtarget: 'abc'")
170
171
if __name__ == '__main__':
172
MaxUploadTest().main()
0 commit comments