aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r--testcases/testcase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index 40bec186..c13754bc 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -228,10 +228,10 @@ class TestCase(object):
len(self._step_vnf_list))
self._vnf_list = self._vnf_ctl.get_vnfs()
+ self._pod_ctl = component_factory.create_pod(
+ self.deployment,
+ loader.get_pod_class())
if self._k8s:
- self._pod_ctl = component_factory.create_pod(
- self.deployment,
- loader.get_pod_class())
self._pod_list = self._pod_ctl.get_pods()
# verify enough hugepages are free to run the testcase