summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-18 15:16:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-18 15:44:53 +0900
commit3af934bcebe2686564a58312211f2fc44536cee5 (patch)
tree9376e0045bcd8e6858126a7664fcc8d30e8c00b7 /test
parentfd022b1da54f17cba79e453b805ead5736de753c (diff)
downloadsystemd-3af934bcebe2686564a58312211f2fc44536cee5.tar.gz
test-network: add tests for IPv4ACD and renewing DHCP address
Diffstat (limited to 'test')
-rw-r--r--test/test-network/conf/25-dhcp4-6rd-upstream.network1
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test-network/conf/25-dhcp4-6rd-upstream.network b/test/test-network/conf/25-dhcp4-6rd-upstream.network
index e146337c5e..fd0d8942bd 100644
--- a/test/test-network/conf/25-dhcp4-6rd-upstream.network
+++ b/test/test-network/conf/25-dhcp4-6rd-upstream.network
@@ -10,6 +10,7 @@ DHCPPrefixDelegation=yes
[DHCPv4]
Use6RD=yes
+SendDecline=yes
[DHCPPrefixDelegation]
UplinkInterface=:self
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 978cc82829..3c1b3e0c1c 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -5289,7 +5289,7 @@ class NetworkdDHCPPDTests(unittest.TestCase, Utilities):
self.verify_dhcp4_6rd(tunnel_name)
- print('Wait for the DHCP lease to be expired')
+ print('Wait for the DHCP lease to be renewed/rebind')
time.sleep(120)
self.wait_online(['veth99:routable', 'test1:routable', 'dummy97:routable', 'dummy98:routable', 'dummy99:degraded',