diff options
author | Abhijit Sinha <abhijit.sinha@intel.com> | 2018-11-06 11:28:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-06 11:28:20 +0000 |
commit | 81093b290a2720f4aa22eb1c715899091c61bc94 (patch) | |
tree | f772329733d91c65787ae234427d0c6225a1232a /yardstick/network_services/traffic_profile/prox_profile.py | |
parent | 3fec49e7a3926ddf4f9303ee47a33d109421a573 (diff) | |
parent | b2fd601c33e3322ccc9e675242f091dba2eeb644 (diff) |
Merge "Update Multi Port Stats reading for PROX"
Diffstat (limited to 'yardstick/network_services/traffic_profile/prox_profile.py')
-rw-r--r-- | yardstick/network_services/traffic_profile/prox_profile.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yardstick/network_services/traffic_profile/prox_profile.py b/yardstick/network_services/traffic_profile/prox_profile.py index de4b3f9a0..be450c9f7 100644 --- a/yardstick/network_services/traffic_profile/prox_profile.py +++ b/yardstick/network_services/traffic_profile/prox_profile.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-2018 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ from __future__ import absolute_import import logging import multiprocessing +import time from yardstick.network_services.traffic_profile.base import TrafficProfile from yardstick.network_services.vnf_generic.vnf.prox_helpers import ProxProfileHelper @@ -117,6 +118,7 @@ class ProxProfile(TrafficProfile): try: pkt_size = next(self.pkt_size_iterator) except StopIteration: + time.sleep(5) self.done.set() return |