File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,11 @@ def run_test(self):
139
139
init_error = 'Error: Unable to start HTTP server. See debug log for details.'
140
140
141
141
self .log .info ('Check -rpcauth are validated' )
142
- # Empty -rpcauth= are ignored
142
+ self .log .info ('Empty -rpcauth are ignored' )
143
+ self .restart_node (0 , extra_args = ['-rpcauth' ])
143
144
self .restart_node (0 , extra_args = ['-rpcauth=' ])
144
145
self .stop_node (0 )
146
+ self .nodes [0 ].assert_start_raises_init_error (expected_msg = init_error , extra_args = ['-rpcauth=""' ])
145
147
self .nodes [0 ].assert_start_raises_init_error (expected_msg = init_error , extra_args = ['-rpcauth=foo' ])
146
148
self .nodes [0 ].assert_start_raises_init_error (expected_msg = init_error , extra_args = ['-rpcauth=foo:bar' ])
147
149
self .nodes [0 ].assert_start_raises_init_error (expected_msg = init_error , extra_args = ['-rpcauth=foo:bar:baz' ])
You can’t perform that action at this time.
0 commit comments