summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-05-19 15:18:19 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-05-19 15:18:19 +0300
commitfc2daaced5d39bac244d689c4546c1fdbe7538c3 (patch)
tree69b1a08ec63520d80277913e8c7613f40a9570ff /scripts/automation/regression
parentde259d86dae5f53cca842ccaa2e11646408ad5f5 (diff)
regression: stl_rx_test fix total_packets type to be int
Diffstat (limited to 'scripts/automation/regression')
-rw-r--r--scripts/automation/regression/stateless_tests/stl_rx_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_rx_test.py b/scripts/automation/regression/stateless_tests/stl_rx_test.py
index 171512b4..92cb6a39 100644
--- a/scripts/automation/regression/stateless_tests/stl_rx_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_rx_test.py
@@ -125,7 +125,7 @@ class STLRX_Test(CStlGeneral_Test):
def test_multiple_streams(self):
num_latency_streams = 110
num_flow_stat_streams = 110
- total_pkts = int(self.total_pkts / num_latency_streams) / 2
+ 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 / 2