summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/automation/regression/stateless_tests/stl_rx_test.py10
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 = []