mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-12 16:41:46 +00:00
Bugfix: QA: rpc_bind: Skip nonloopback test if no such address is found
This commit is contained in:
parent
8a9ffec0a2
commit
79b4c276e7
@ -84,7 +84,10 @@ class RPCBindTest(BitcoinTestFramework):
|
||||
if not self.options.run_nonloopback:
|
||||
self._run_loopback_tests()
|
||||
if not self.options.run_ipv4 and not self.options.run_ipv6:
|
||||
self._run_nonloopback_tests()
|
||||
if self.non_loopback_ip:
|
||||
self._run_nonloopback_tests()
|
||||
else:
|
||||
self.log.info('Non-loopback IP address not found, skipping non-loopback tests')
|
||||
|
||||
def _run_loopback_tests(self):
|
||||
if self.options.run_ipv4:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user