summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-05-10 11:37:26 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-05-10 11:37:26 +0300
commitdc622bd308ae9ba17eda57881e809dbbc5d2dd01 (patch)
treeba7e8228af1368c48a6c786a73f7f2f0df02574f /scripts/automation/trex_control_plane/stl/trex_stl_lib
parentba731d02eadc3c2f0c13493e518a167d199b41e7 (diff)
parent79d632c3f2fce07dede708bf36b47d1ad78386dd (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
index d1352804..5e20adb8 100755
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
@@ -854,6 +854,9 @@ class STLClient(object):
# clear stats
def __clear_stats(self, port_id_list, clear_global, clear_flow_stats):
+ # we must be sync with the server
+ self.async_client.barrier()
+
for port_id in port_id_list:
self.ports[port_id].clear_stats()