From 12cbae3891c92bb7b504c70f18a3d00e197b4e1a Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Wed, 16 Feb 2022 13:38:52 +0100 Subject: [PATCH] test: wait longer for reboot during ostree rollback test Co-Authored-By: Xiaofeng Wang --- test/data/ansible/check_ostree.yaml | 4 ++++ test/data/ansible/check_ostree_nort.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/data/ansible/check_ostree.yaml b/test/data/ansible/check_ostree.yaml index f973ff4d7..4cf98319a 100644 --- a/test/data/ansible/check_ostree.yaml +++ b/test/data/ansible/check_ostree.yaml @@ -468,6 +468,10 @@ reboot: become: yes + - name: wait for connection to become reachable/usable + wait_for_connection: + delay: 30 + - name: waits until instance is reachable wait_for: host: "{{ ansible_all_ipv4_addresses[0] }}" diff --git a/test/data/ansible/check_ostree_nort.yaml b/test/data/ansible/check_ostree_nort.yaml index 5d7ef1cc3..e23caa9a5 100644 --- a/test/data/ansible/check_ostree_nort.yaml +++ b/test/data/ansible/check_ostree_nort.yaml @@ -451,6 +451,10 @@ reboot: become: yes + - name: wait for connection to become reachable/usable + wait_for_connection: + delay: 30 + - name: waits until instance is reachable wait_for: host: "{{ ansible_all_ipv4_addresses[0] }}"