test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart: add test	case about port restart 100 times
Date: Wed, 7 Aug 2019 03:42:34 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFECA6@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1563215719-14564-1-git-send-email-lihongx.ma@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Tuesday, July 16, 2019 2:35 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart: add
> test case about port restart 100 times
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  .../TestSuite_pvp_qemu_multi_paths_port_restart.py  | 21
> +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
> b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
> index 38380ed..81328e0 100644
> --- a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
> +++ b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
> @@ -311,6 +311,27 @@ class TestPVPQemuMultiPathPortRestart(TestCase):
>          self.result_table_print()
>          self.vm.stop()
> 
> +    def
> test_perf_pvp_qemu_modern_mergeable_mac_restart_100_times(self):
> +        """
> +        restart port 100 times on virtio1.0 mergeable path
> +        """
> +        self.start_vhost_testpmd()
> +        self.start_one_vm(modem=1, mergeable=1)
> +        self.start_vm_testpmd(path="mergeable")
> +
> +        case_info = "virtio1.0 mergeable"
> +        Mpps, throughput = self.calculate_avg_throughput(64)
> +        self.update_table_info(case_info, 64, Mpps, throughput, "Before
> Restart")
> +        for cycle in range(100):
> +            self.logger.info('now port restart  %d times' % (cycle+1))
> +            self.port_restart()
> +            Mpps, throughput = self.calculate_avg_throughput(64)
> +            self.update_table_info(case_info, 64, Mpps, throughput, "After port
> restart")
> +
> +        self.close_all_testpmd()
> +        self.result_table_print()
> +        self.vm.stop()
> +
>      def tear_down(self):
>          """
>          Run after each test case.
> --
> 2.7.4


      reply	other threads:[~2019-08-07  3:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 18:35 lihong
2019-08-07  3:42 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BAFECA6@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.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).