diff options
author | 2024-12-02 21:10:10 +0000 | |
---|---|---|
committer | 2025-01-08 08:11:49 +0000 | |
commit | 379a454aa71facbffd3d4c45537809401e43fcd8 (patch) | |
tree | d8dd22d396d7f43400e1931a7b764e63bc5f9bb4 /src/vnet/interface.h | |
parent | 6102d81832ed93469de64222657a69dcd4e0af5e (diff) |
tests: reduce sleep interval in ikev2 sa rekey test
Type: test
The sleep interval for this test is set to 0.1 seconds instead of
the default 2 seconds. This change is necessary because the test
verifies the expiration of old IPsec SAs
(self.fail("old IPsec SA not expired")) within a strict timeframe.
A longer sleep interval, such as 2 seconds, would significantly
delay the loop iterations, reducing the granularity of checks for
SA expiration and increasing the risk of false failures.
By setting the sleep interval to 0.1 seconds:
- The test can perform frequent checks for the status of IPsec SAs
- It reduces the likelihood of the test prematurely failing
Change-Id: I92ac3de0f33838620b51083d240043e62f37c490
Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
Diffstat (limited to 'src/vnet/interface.h')
0 files changed, 0 insertions, 0 deletions