From 3af934bcebe2686564a58312211f2fc44536cee5 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 18 Aug 2022 15:16:27 +0900 Subject: [PATCH] test-network: add tests for IPv4ACD and renewing DHCP address --- test/test-network/conf/25-dhcp4-6rd-upstream.network | 1 + test/test-network/systemd-networkd-tests.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-network/conf/25-dhcp4-6rd-upstream.network b/test/test-network/conf/25-dhcp4-6rd-upstream.network index e146337c5e4..fd0d8942bd3 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 978cc828295..3c1b3e0c1c1 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',