mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-11 09:42:17 +01:00
Bugfix: QA: rpc_bind: Skip nonloopback test if no such address is found
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user