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 973D1A046B for ; Mon, 22 Jul 2019 14:18:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 883C11BF4C; Mon, 22 Jul 2019 14:18:27 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 8AA741BF3F for ; Mon, 22 Jul 2019 14:18:25 +0200 (CEST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6MCIKRi021092 for ; Mon, 22 Jul 2019 08:18:24 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0b-001b2d01.pphosted.com with ESMTP id 2twc9dac0m-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Jul 2019 08:18:23 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 22 Jul 2019 13:18:07 +0100 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 22 Jul 2019 13:18:05 +0100 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x6MCI4nI59638226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Jul 2019 12:18:04 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F2D36136051; Mon, 22 Jul 2019 12:18:03 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C87A413604F; Mon, 22 Jul 2019 12:18:03 +0000 (GMT) Received: from [9.53.179.223] (unknown [9.53.179.223]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 22 Jul 2019 12:18:03 +0000 (GMT) To: "Mo, YufengX" Cc: "dts@dpdk.org" References: <20190719125942.1863-1-thinhtr@linux.vnet.ibm.com> From: Thinh Tran Date: Mon, 22 Jul 2019 07:18:07 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19072212-8235-0000-0000-00000EBC6413 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011474; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000287; SDB=6.01235807; UDB=6.00651293; IPR=6.01017157; MB=3.00027836; MTD=3.00000008; XFM=3.00000015; UTC=2019-07-22 12:18:06 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19072212-8236-0000-0000-0000467FCEF4 Message-Id: <348089e1-3fe9-d8eb-c594-4e19fcda5a8b@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-22_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907220146 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" Sorry. v2 was on top off v1. will resend it shortly. On 7/21/2019 9:01 PM, Mo, YufengX wrote: > self.this_timeout is not defined. I think you haven't rebase your source code. > > >> -----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 >> >> Signed-off-by: Thinh Tran >> --- >> changes v1 -> v2: >> - add missing self to this_timeout >> >> tests/TestSuite_unit_tests_timer.py | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/tests/TestSuite_unit_tests_timer.py b/tests/TestSuite_unit_tests_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 = self.dut.send_expect("timer_autotest", "RTE>>", this_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") >> >> @@ -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 = self.dut.send_expect("timer_perf_autotest", "RTE>>", this_timeout) >> + out = self.dut.send_expect("timer_perf_autotest", "RTE>>", self.this_timeout) >> self.dut.send_expect("quit", "# ") >> self.verify("Test OK" in out, "Test failed") >> >> -- >> 2.17.1 >