[Fullstack] Change time waiting for async ping results
During agents restart there is async ping run and there is
called function to wait until all async ping workers will
finish their job.
In TestHAL3Agent.test_ha_router_restart_agents_no_packet_lost
there are 60 pings sent with 1 second timeout so default
wait_until_true timeout which is set to 60 seconds might not
be enough in some cases.
Because of that wait_until_true timeout is now set as
twice higher value than is needed to number of packets to send
with ping_timeout.
This should give enough time to finish all workers.
Change-Id: Ia7c3755c2ba5029bdab3c1dd30b305f3bde19740
Closes-Bug: #1775183
(cherry picked from commit 32f14aa8a030e0d619ddd4989a3ea54a481f20e5)
Reviewed: https:/ /review. openstack. org/573603 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9eef1db1605 21076d8243f1980 e681f0f04ecbc6
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 9eef1db16052107 6d8243f1980e681 f0f04ecbc6
Author: Slawek Kaplonski <email address hidden>
Date: Wed Jun 6 13:42:37 2018 +0200
[Fullstack] Change time waiting for async ping results
During agents restart there is async ping run and there is
called function to wait until all async ping workers will
finish their job.
In TestHAL3Agent. test_ha_ router_ restart_ agents_ no_packet_ lost
there are 60 pings sent with 1 second timeout so default
wait_until_true timeout which is set to 60 seconds might not
be enough in some cases.
Because of that wait_until_true timeout is now set as
twice higher value than is needed to number of packets to send
with ping_timeout.
This should give enough time to finish all workers.
Change-Id: Ia7c3755c2ba502 9bdab3c1dd30b30 5f3bde19740 619ddd4989a3ea5 4a481f20e5)
Closes-Bug: #1775183
(cherry picked from commit 32f14aa8a030e0d