Merge "Add traffic duration support in test case"
[yardstick.git] / yardstick / network_services / vnf_generic / vnf / prox_helpers.py
index 3241719..321c057 100644 (file)
@@ -984,7 +984,7 @@ class ProxResourceHelper(ClientResourceHelper):
 
     def _run_traffic_once(self, traffic_profile):
         traffic_profile.execute_traffic(self)
-        if traffic_profile.done:
+        if traffic_profile.done.is_set():
             self._queue.put({'done': True})
             LOG.debug("tg_prox done")
             self._terminated.value = 1