Merge #14790: Tests: Allow running rpc_bind.py --nonloopback test without IPv6
c9066f07c9
Allow running rpc_bind.py --nonloopback test without IPv6 (Kristaps Kaupe)
Pull request description:
Don't see a reason why this can't be tested with IPv4 only.
Tree-SHA512: 515bdf700fad420e4b1798fd4978b53e2da3ddb26e43b16d68b43071bc912c325f1ceb10046ba3d0494dab289a53c45ddc2de9064117d8c1d6bf11e88323f490
This commit is contained in:
commit
c3bb936a0f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class RPCBindTest(BitcoinTestFramework):
|
||||||
|
|
||||||
self.log.info("Check for ipv6")
|
self.log.info("Check for ipv6")
|
||||||
have_ipv6 = test_ipv6_local()
|
have_ipv6 = test_ipv6_local()
|
||||||
if not have_ipv6 and not self.options.run_ipv4:
|
if not have_ipv6 and not (self.options.run_ipv4 or self.options.run_nonloopback):
|
||||||
raise SkipTest("This test requires ipv6 support.")
|
raise SkipTest("This test requires ipv6 support.")
|
||||||
|
|
||||||
self.log.info("Check for non-loopback interface")
|
self.log.info("Check for non-loopback interface")
|
||||||
|
|
Loading…
Reference in a new issue