test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Mo, YufengX" <yufengx.mo@intel.com>,
	"dts@dpdk.org" <dts@dpdk.org>,
	"Ma,  LihongX" <lihongx.ma@intel.com>
Cc: "Mo, YufengX" <yufengx.mo@intel.com>
Subject: Re: [dts] [PATCH V1 1/1] tests/unit_tests_timer: x722 support
Date: Mon, 17 Feb 2020 09:45:53 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC9AF4@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200217051833.14297-2-yufengx.mo@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Monday, February 17, 2020 1:19 PM
> To: dts@dpdk.org; Ma, LihongX <lihongx.ma@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 1/1] tests/unit_tests_timer: x722 support
> 
> 
> tests/unit_tests_timer: x722 support.
> 
> x722 support.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_unit_tests_timer.py | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_unit_tests_timer.py
> b/tests/TestSuite_unit_tests_timer.py
> index d53d827..525220c 100644
> --- a/tests/TestSuite_unit_tests_timer.py
> +++ b/tests/TestSuite_unit_tests_timer.py
> @@ -72,12 +72,18 @@ class TestUnitTestsTimer(TestCase):
>          """
>          pass
> 
> +    def get_nic_timeout(self):
> +        if self.nic in ["x722_37d2"]:
> +            return 120
> +        return 60
> +
>      def test_timer(self):
>          """
>          Run timer autotest.
>          """
>          eal_params = self.dut.create_eal_parameters(cores=self.cores)
> -        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params),
> "R.*T.*E.*>.*>", 60)
> +        timeout = self.get_nic_timeout()
> +        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params),
> "R.*T.*E.*>.*>", timeout)
>          out = self.dut.send_expect("timer_autotest", "RTE>>", self.this_timeout)
>          self.dut.send_expect("quit", "# ")
>          self.verify("Test OK" in out, "Test failed")
> --
> 2.21.0


      reply	other threads:[~2020-02-17  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17  5:18 [dts] [PATCH V1 0/1] " yufengmx
2020-02-17  5:18 ` [dts] [PATCH V1 1/1] " yufengmx
2020-02-17  9:45   ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BBC9AF4@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.com \
    --cc=yufengx.mo@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).