Skip to content

Commit 186c356

Browse files
committed
xxx: increase ping timeout
Signed-off-by: Paul Kroeher <paul.kroeher@cyberus-technology.de> On-behalf-of: SAP paul.kroeher@sap.com
1 parent 8c8d27d commit 186c356

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/openstack-live-migration.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ pkgs.testers.nixosTest {
274274
net_ns = wait_for_network_namespace()
275275
assert net_ns != ""
276276
277-
assert retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ping -c 1 {vm_ip}", 30)
277+
assert retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ping -c 1 {vm_ip}", 120)
278278
279279
print(f"Start migration from src: {host} to destination {dst_host}")
280280
controllerVM.succeed(f"openstack server migrate --live-migration --host {dst_host} test_vm")
@@ -284,6 +284,6 @@ pkgs.testers.nixosTest {
284284
vm_state = json.loads(controllerVM.succeed("openstack server show test_vm -f json"))
285285
assert vm_state["OS-EXT-SRV-ATTR:host"] == dst_host
286286
287-
assert retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ping -c 1 {vm_ip}", 30)
287+
assert retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ping -c 1 {vm_ip}", 120)
288288
'';
289289
}

0 commit comments

Comments
 (0)