Fixing wait_for_pod_status function

The namespace for get_pod_status function should be provided by
the wait_for_pod_status function

Change-Id: Ic4eb4ccdde4be1631566646a0f48dc810cfd3f26
This commit is contained in:
Genadi Chereshnya 2018-09-16 14:54:28 +03:00
parent 32944d50e9
commit a50900d971

View File

@ -143,7 +143,7 @@ class BaseKuryrScenarioTest(manager.NetworkScenarioTest):
pod_status=None, retries=30):
while pod_status != cls.get_pod_status(
pod_name,
namespace=CONF.kuryr_kubernetes.kube_system_namespace):
namespace=namespace):
time.sleep(1)
retries -= 1
if retries == 0: