summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2018-02-13 14:14:00 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-13 14:14:00 +0000
commitb8ef508a78181e017071d9189bb0030305fd1080 (patch)
tree7301669be618878147b3a4159d7960ab3ff52f71 /testcases
parent7a1a6fb5d55cb0b5463408730f0778add4549be9 (diff)
parenta874f412c78c04ae02b92a3d0da8a10956f80b74 (diff)
Merge "loadgen: Support for Stressor-VMs as a Loadgen"
Diffstat (limited to 'testcases')
-rw-r--r--testcases/testcase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index 5d4a6ea9..ebf1e797 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -348,8 +348,8 @@ class TestCase(object):
self.run_initialize()
try:
- with self._vswitch_ctl, self._loadgen:
- with self._vnf_ctl, self._collector:
+ with self._vswitch_ctl:
+ with self._vnf_ctl, self._collector, self._loadgen:
if not self._vswitch_none:
self._add_flows()