From fd20e0de9028dd36215be4004d8b8d3a7d45df21 Mon Sep 17 00:00:00 2001
From: Matthew Mosesohn <mmosesohn@mirantis.com>
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
-- 
GitLab