Skip to content

Commit 27f446b

Browse files
committed
wip: adj tests
1 parent f047fce commit 27f446b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/functional/feature_bind_port_discover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
# FreeBSD:
3535
# ifconfig em0 1.1.1.1/32 alias && ifconfig wlan0 2.2.2.2/32 alias # to set up
3636
# ifconfig em0 1.1.1.1 -alias && ifconfig wlan0 2.2.2.2 -alias # to remove it, after the test
37-
ADDR1 = '1.1.1.1'
38-
ADDR2 = '2.2.2.2'
37+
ADDR1 = '1.1.1.5'
38+
ADDR2 = '1111:1111::5'
3939

4040
class BindPortDiscoverTest(BitcoinTestFramework):
4141
def set_test_params(self):

test/functional/feature_bind_port_externalip.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
# Linux:
2020
# First find your interfaces: ip addr show
2121
# Then use your actual interface names (replace INTERFACE_NAME with yours):
22-
# ip addr add 1.1.1.1/32 dev INTERFACE_NAME && ip addr add 2.2.2.2/32 dev INTERFACE_NAME # to set up
23-
# ip addr del 1.1.1.1/32 dev INTERFACE_NAME && ip addr del 2.2.2.2/32 dev INTERFACE_NAME # to remove it
22+
# ip addr add 1.1.1.5/32 dev INTERFACE_NAME # to set up
23+
# ip addr del 1.1.1.5/32 dev INTERFACE_NAME # to remove it
2424
# FreeBSD and MacOS:
25-
# ifconfig INTERFACE_NAME 1.1.1.1/32 alias # to set up
26-
# ifconfig INTERFACE_NAME 1.1.1.1 -alias # to remove it, after the test
27-
ADDR = '1.1.1.1'
25+
# ifconfig INTERFACE_NAME 1.1.1.5/32 alias # to set up
26+
# ifconfig INTERFACE_NAME 1.1.1.5 -alias # to remove it, after the test
27+
ADDR = '1.1.1.5'
2828

2929
# array of tuples [arguments, expected port in localaddresses]
3030
EXPECTED = [

0 commit comments

Comments
 (0)