From 300ca9bcaa3309665421efd5ed51c49f9b81006d Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 31 Mar 2016 15:43:42 +0300 Subject: new test only on loopback non virtual --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 +- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib') 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 812aea98..d5e1e44a 100644 --- 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 @@ -2069,7 +2069,7 @@ class STLClient(object): self.logger.log(format_text("No active traffic on provided ports\n", 'bold')) return - self.stop(ports, rx_delay_ms = 2000) + self.stop(ports) # true means print time return True diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py index a75ba044..2bd98d4a 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py @@ -835,7 +835,7 @@ class STLProfile(object): def is_pauseable (self): return all([x.get_mode() == "Continuous" for x in (self.get_streams())]) - def needs_rx_caps (self): + def has_flow_stats (self): return any([x.has_flow_stats() for x in self.get_streams()]) @staticmethod -- cgit