summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/stateless_tests/stl_rx_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/regression/stateless_tests/stl_rx_test.py')
-rw-r--r--scripts/automation/regression/stateless_tests/stl_rx_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_rx_test.py b/scripts/automation/regression/stateless_tests/stl_rx_test.py
index c55ee13e..3b979744 100644
--- a/scripts/automation/regression/stateless_tests/stl_rx_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_rx_test.py
@@ -100,10 +100,10 @@ class STLRX_Test(CStlGeneral_Test):
# one simple stream on TX --> RX
def test_multiple_streams(self):
num_streams = 10
- total_pkts = self.total_pkts / num_streams
+ total_pkts = int(self.total_pkts / num_streams)
if total_pkts == 0:
total_pkts = 1
- percent = self.rate_percent / num_streams
+ percent = int(self.rate_percent / num_streams)
if percent == 0:
percent = 1