I opted for testing only the interface existence, since I don't think the RPC can be tested in a sane and clean way (please advise otherwise).
This is the last RPC method which was missing coverage when running the extended tests :)
I opted for testing only the interface existence, since I don't think the RPC can be tested in a sane and clean way (please advise otherwise).
This is the last RPC method which was missing coverage when running the extended tests :)
178 | @@ -179,6 +179,8 @@ def run_test(self): 179 | else: 180 | variant.check() 181 | 182 | + assert_equal(try_rpc(self.nodes[0].abortrescan)[1], None)
I believe there is no need to try_rpc since abortrescan returns bool. For that reason, add 2 tests, one for each return value.
Related to #10367
I was thinking threading would over complicate the test, so I only tested the interface. Ok, will check that one.