From 890ac4f2ff543b270f7f9db08fe2444792c628a6 Mon Sep 17 00:00:00 2001 From: Alexandre Fiset Date: Fri, 7 Aug 2026 16:45:27 +0200 Subject: [PATCH] ci: cram: dhcpv4 client options: shorten the settle wait The three waits in 018-dhcpv4-client-options.t let dnsmasq record the lease and dhcpv4-manager propagate the client and its options into Device.DHCPv4.Server.Pool.Client. before the following ba-cli queries read them back. On the testbed that propagation completes well within a second, so three seconds only lengthens the run. Reduce the three waits to one second, saving six seconds per run. References: PPW-2188 Signed-off-by: Alexandre Fiset --- .../dhcpv4-client-options/018-dhcpv4-client-options.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab/tests/cram/generic/acceleration-plan-components/dhcpv4-client-options/018-dhcpv4-client-options.t b/.gitlab/tests/cram/generic/acceleration-plan-components/dhcpv4-client-options/018-dhcpv4-client-options.t index 6b8aba8696..15c3d71058 100644 --- a/.gitlab/tests/cram/generic/acceleration-plan-components/dhcpv4-client-options/018-dhcpv4-client-options.t +++ b/.gitlab/tests/cram/generic/acceleration-plan-components/dhcpv4-client-options/018-dhcpv4-client-options.t @@ -23,7 +23,7 @@ Test 1 - basic client options (option 12 hostname): SENT_HOSTNAME=cramhostA RECEIVED_TAGS=.* (re) - $ sleep 3 + $ sleep 1 Verify client A appears in DHCPv4.Server.Pool.Client: @@ -55,7 +55,7 @@ Test 2 - multiple clients each with their own options (C-2 per FEAT-13 spec): SENT_HOSTNAME=cramhostB RECEIVED_TAGS=.* (re) - $ sleep 3 + $ sleep 1 Verify client B appears in DHCPv4.Server.Pool.Client: @@ -105,7 +105,7 @@ Cleanup - release both leases and verify clients are marked inactive in DM: RECEIVED_TAGS=.* (re) RELEASED=.* (re) - $ sleep 3 + $ sleep 1 $ R "ba-cli 'Device.DHCPv4.Server.Pool.lan.Client.[Chaddr==\"$MAC_A\"].Active?'" | grep -Ev '^(>|$)' Device\.DHCPv4\.Server\.Pool\.[0-9]+\.Client\.[0-9]+\.Active=0 (re)