From: Deepak S Date: Sat, 12 Aug 2017 22:45:03 +0000 (-0700) Subject: Enable vnf/tg instantiate as blocking call. X-Git-Tag: opnfv-5.0.RC1~251^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F39191%2F4;p=yardstick.git Enable vnf/tg instantiate as blocking call. untill we fix the sequence issue, we need to make the instantiate blocking call to avoid hangs Change-Id: Ie337372625d506e6b3c74a5248204a87fec1ca2c Signed-off-by: Deepak S --- diff --git a/yardstick/benchmark/scenarios/networking/vnf_generic.py b/yardstick/benchmark/scenarios/networking/vnf_generic.py index e0dd36684..092e9a067 100644 --- a/yardstick/benchmark/scenarios/networking/vnf_generic.py +++ b/yardstick/benchmark/scenarios/networking/vnf_generic.py @@ -440,7 +440,6 @@ printf "%s/driver:" $1 ; basename $(readlink -s $1/device/driver); } \ for vnf in chain(traffic_runners, non_traffic_runners): LOG.info("Instantiating %s", vnf.name) vnf.instantiate(self.scenario_cfg, self.context_cfg) - for vnf in chain(traffic_runners, non_traffic_runners): LOG.info("Waiting for %s to instantiate", vnf.name) vnf.wait_for_instantiate() except RuntimeError: