test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/TestSuite_eventdev_perf.py: Increased eventdev app termination timeout.
@ 2019-09-17  7:13 thaq
  2019-09-20  6:36 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: thaq @ 2019-09-17  7:13 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Thanseerulhaq

From: Thanseerulhaq <thaq@marvell.com>

Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
 tests/TestSuite_eventdev_perf.py          | 38 +++++++++++++++----------------
 tests/TestSuite_eventdev_pipeline_perf.py | 20 ++++++++--------
 2 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/tests/TestSuite_eventdev_perf.py b/tests/TestSuite_eventdev_perf.py
index a2520a8..8664410 100644
--- a/tests/TestSuite_eventdev_perf.py
+++ b/tests/TestSuite_eventdev_perf.py
@@ -158,7 +158,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -235,7 +235,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -313,7 +313,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -391,7 +391,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -469,7 +469,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -547,7 +547,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -628,7 +628,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -709,7 +709,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -790,7 +790,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -871,7 +871,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -952,7 +952,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1033,7 +1033,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1121,7 +1121,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1207,7 +1207,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1294,7 +1294,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1381,7 +1381,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1467,7 +1467,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1554,7 +1554,7 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -1601,6 +1601,6 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
         """
         Run after each test suite.
         """
-        self.dut.send_expect("^C", "# ", 5)
+        self.dut.send_expect("^C", "# ", 50)
         self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
         self.dut.kill_all()
diff --git a/tests/TestSuite_eventdev_pipeline_perf.py b/tests/TestSuite_eventdev_pipeline_perf.py
index 6a4bcad..8f68b8f 100644
--- a/tests/TestSuite_eventdev_pipeline_perf.py
+++ b/tests/TestSuite_eventdev_pipeline_perf.py
@@ -154,7 +154,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -228,7 +228,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -302,7 +302,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -379,7 +379,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -456,7 +456,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -533,7 +533,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -616,7 +616,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -699,7 +699,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -782,7 +782,7 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
                 test_cycle['Mpps'][frame_size] = float('%.3f' % pps)
                 test_cycle['pct'][frame_size] = float('%.3f' % pct)
 
-            self.dut.send_expect("^C", "# ", 5)
+            self.dut.send_expect("^C", "# ", 50)
             sleep(5)
 
         for n in range(len(self.test_cycles)):
@@ -829,6 +829,6 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
         """
         Run after each test suite.
         """
-        self.dut.send_expect("^C", "# ", 5)
+        self.dut.send_expect("^C", "# ", 50)
         self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
         self.dut.kill_all()
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-20  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17  7:13 [dts] [PATCH] tests/TestSuite_eventdev_perf.py: Increased eventdev app termination timeout thaq
2019-09-20  6:36 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).