From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41EE4A046B for ; Mon, 22 Jul 2019 04:01:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF6E02BE5; Mon, 22 Jul 2019 04:01:37 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2A7AB2BC7 for ; Mon, 22 Jul 2019 04:01:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jul 2019 19:01:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,292,1559545200"; d="scan'208";a="252755041" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 21 Jul 2019 19:01:36 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 21 Jul 2019 19:01:35 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 21 Jul 2019 19:01:20 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 21 Jul 2019 19:01:20 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.3]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0439.000; Mon, 22 Jul 2019 10:01:19 +0800 From: "Mo, YufengX" To: Thinh Tran CC: "dts@dpdk.org" Thread-Topic: [dts][PATCH v2] tests/unit_tests_timer increase timeout Thread-Index: AQHVPjHvwOuHZxI0W0+lgSdtcSPTRabV5aRQ Date: Mon, 22 Jul 2019 02:01:18 +0000 Message-ID: References: <20190719125942.1863-1-thinhtr@linux.vnet.ibm.com> In-Reply-To: <20190719125942.1863-1-thinhtr@linux.vnet.ibm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v2] tests/unit_tests_timer increase timeout X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" self.this_timeout is not defined. I think you haven't rebase your source co= de.=20 > -----Original Message----- > From: Thinh Tran [mailto:thinhtr@linux.vnet.ibm.com] > Sent: Friday, July 19, 2019 9:00 PM > To: Mo, YufengX > Cc: dts@dpdk.org; thinhtr@linux.vnet.ibm.com > Subject: [dts][PATCH v2] tests/unit_tests_timer increase timeout >=20 > Signed-off-by: Thinh Tran > --- > changes v1 -> v2: > - add missing self to this_timeout >=20 > tests/TestSuite_unit_tests_timer.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_unit_tests_timer.py b/tests/TestSuite_unit_t= ests_timer.py > index f3bb02d..365c5f6 100644 > --- a/tests/TestSuite_unit_tests_timer.py > +++ b/tests/TestSuite_unit_tests_timer.py > @@ -78,7 +78,7 @@ class TestUnitTestsTimer(TestCase): > Run timer autotest. > """ > self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, = self.coremask), "R.*T.*E.*>.*>", 60) > - out =3D self.dut.send_expect("timer_autotest", "RTE>>", this_tim= eout) > + out =3D self.dut.send_expect("timer_autotest", "RTE>>", self.thi= s_timeout) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") >=20 > @@ -87,7 +87,7 @@ class TestUnitTestsTimer(TestCase): > Run timer autotest. > """ > self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, = self.coremask), "R.*T.*E.*>.*>", 60) > - out =3D self.dut.send_expect("timer_perf_autotest", "RTE>>", thi= s_timeout) > + out =3D self.dut.send_expect("timer_perf_autotest", "RTE>>", sel= f.this_timeout) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") >=20 > -- > 2.17.1