diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-11-06 21:33:59 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-11-06 21:44:05 +0100 |
| commit | da679f0cf8fe048bae7d648a4f447db47032f3c0 (patch) | |
| tree | 9cede924facf4138b323f40df6399a2d9fdb1659 /interface-definitions/include/generic-description.xml.i | |
| parent | 874eabd1bcaa1f37388020ec2f0f3a13624619ad (diff) | |
| download | vyos-1x-da679f0cf8fe048bae7d648a4f447db47032f3c0.tar.gz vyos-1x-da679f0cf8fe048bae7d648a4f447db47032f3c0.zip | |
smoketest: T7996: replace hardcoded sleep(8) in VRF test with wait_for()
The original VRF DHCP test case, introduced in commit 186900f7165b2
("smoketest: T7927: test DHCP route preservation"), used a fixed delay of
8 seconds to wait for the DHCP server and client to initialize. This approach
was unreliable and could cause unnecessary test delays.
Since commit 354517677f ("wlb: T7977: Updated smoketest to validate nft vmap
weight buckets"), the "vyos.utils.misc.wait_for()" helper provides a more
efficient busy-wait loop with an early-exit condition. This test case now uses
wait_for() to detect when the DHCP-assigned default route becomes available,
eliminating the fixed sleep and reducing test runtime.
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
0 files changed, 0 insertions, 0 deletions
