From 61eb4ba0ee814e6eaebb01d6791179b08875f0f3 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Tue, 4 Apr 2017 13:12:24 +0300 Subject: [PATCH] Wait for container creation in check network test --- tests/testcases/030_check-network.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testcases/030_check-network.yml b/tests/testcases/030_check-network.yml index c15a7539e..ee5f60785 100644 --- a/tests/testcases/030_check-network.yml +++ b/tests/testcases/030_check-network.yml @@ -21,6 +21,9 @@ - name: Get pod names shell: "{{bin_dir}}/kubectl get pods -o json" register: pods + until: '"ContainerCreating" not in pods.stdout' + retries: 60 + delay: 2 no_log: true - name: Get hostnet pods