diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-05-19 03:35:51 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-05-19 03:35:51 +0300 |
commit | e2addf2f93f8f16da00180fb906d90dff036cfc0 (patch) | |
tree | 9411b35ee69fa0ab8c491dbce4af0856bf8ff382 | |
parent | 25b143866ed3fd3939d3d8d91d84b09ac21cda4d (diff) |
regression: rx_test fix
-rw-r--r-- | scripts/automation/regression/stateless_tests/stl_rx_test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_rx_test.py b/scripts/automation/regression/stateless_tests/stl_rx_test.py index a7ff303e..306b40ed 100644 --- a/scripts/automation/regression/stateless_tests/stl_rx_test.py +++ b/scripts/automation/regression/stateless_tests/stl_rx_test.py @@ -19,7 +19,7 @@ class STLRX_Test(CStlGeneral_Test): port_info = self.c.get_port_info(ports = self.rx_port)[0] cap = port_info['rx']['caps'] - print cap + print(port_info) if "flow_stats" not in cap or "latency" not in cap: self.skip('port {0} does not support RX'.format(self.rx_port)) self.cap = cap @@ -119,12 +119,12 @@ class STLRX_Test(CStlGeneral_Test): # one simple stream on TX --> RX def test_multiple_streams(self): - num_latency_streams = 128 - num_flow_stat_streams = 127 - total_pkts = int(self.total_pkts / num_latency_streams) + num_latency_streams = 110 + num_flow_stat_streams = 110 + total_pkts = int(self.total_pkts / num_latency_streams) / 2 if total_pkts == 0: total_pkts = 1 - percent = float(self.rate_percent) / num_latency_streams + percent = float(self.rate_percent) / num_latency_streams / 2 try: streams = [] |