Skip to content

Commit 37b417d

Browse files
Miguel Lavallekarelyatin
authored andcommitted
Increase threshold in TestHAL3Agent fullstack test
The HA router failover fullstack test has a maximum threshold of ICMP packets lost after a failover has been executed. Based on the number of failures observed in zuul recently, this threshold seems to be set at a value too low. In this change, an increase in this value is proposed. Change-Id: I4555ed821865db724c4e5fc502648fe71d5febea Partial-Bug: #2104019 Partial-Bug: #2091351 (cherry picked from commit 557d57e) Signed-off-by: Yatin Karel <[email protected]>
1 parent e11a326 commit 37b417d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

neutron/tests/fullstack/test_l3_agent.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,9 @@ def is_one_host_active_for_router():
566566
netcat_udp.stop_processes()
567567

568568
# With the default advert_int of 2s the keepalived master timeout is
569-
# about 6s. Assert less than 90 lost packets (9 seconds)
570-
threshold = 90
569+
# about 6s. Assert less than 90 lost packets (9 seconds) plus 30 to
570+
# account for CI infrastructure variability
571+
threshold = 120
571572

572573
lost = pinger.sent - pinger.received
573574
message = (f'Sent {pinger.sent} packets, received {pinger.received} '

0 commit comments

Comments
 (0)