From: <thaq@marvell.com>
To: <dts@dpdk.org>
Cc: <fmasood@marvell.com>, <avijay@marvell.com>,
Thanseerulhaq <thaq@marvell.com>
Subject: [dts] [PATCH] tests/TestSuite_eventdev_perf.py: Increased eventdev app termination timeout.
Date: Tue, 17 Sep 2019 12:43:29 +0530 [thread overview]
Message-ID: <1568704409-14384-1-git-send-email-thaq@marvell.com> (raw)
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
next reply other threads:[~2019-09-17 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 7:13 thaq [this message]
2019-09-20 6:36 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1568704409-14384-1-git-send-email-thaq@marvell.com \
--to=thaq@marvell.com \
--cc=avijay@marvell.com \
--cc=dts@dpdk.org \
--cc=fmasood@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).