test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "thaq@marvell.com" <thaq@marvell.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "fmasood@marvell.com" <fmasood@marvell.com>,
	"avijay@marvell.com" <avijay@marvell.com>
Subject: Re: [dts] [PATCH] tests/TestSuite_eventdev_perf.py: Increased eventdev	app termination timeout.
Date: Fri, 20 Sep 2019 06:36:51 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB24CDD@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1568704409-14384-1-git-send-email-thaq@marvell.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of thaq@marvell.com
> Sent: Tuesday, September 17, 2019 3:13 PM
> 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.
> 
> 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_i
> d)
>          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_i
> d)
>          self.dut.kill_all()
> --
> 1.8.3.1


      reply	other threads:[~2019-09-20  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17  7:13 thaq
2019-09-20  6:36 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BB24CDD@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=avijay@marvell.com \
    --cc=dts@dpdk.org \
    --cc=fmasood@marvell.com \
    --cc=thaq@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).