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 B7C02A2EFC for ; Tue, 17 Sep 2019 09:14:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92A3D1BECE; Tue, 17 Sep 2019 09:14:09 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 623B21B994 for ; Tue, 17 Sep 2019 09:14:08 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8H7AI5Q024308 for ; Tue, 17 Sep 2019 00:14:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=RSTwPvnX9Dvxj7GLN8KCutY3Y/EGI67b2L1g0J7yEQg=; b=dyLZLBPGzC0xtfyLED2KdR718Ndd2PnbRo9xeOURDRX1KygU3MuIlhDHL7wjFzLC4RET NqiLwft5U7Xy/PcQNsGA38W185yB+FTRnLJ8TtkSUK29o9dYFdQmR+nQA1ktNAo8kWsX s8cZiAn+irzT9QQdkVw1MtAvl+GcRxx34t0zN9c97lguLbMoDbiXU7Er8Y00c5dng8ly YrtO3aWsZ42yD40HbdRA3EJFXVt+rjwvMURnato3ZLFfnImG5RyWZvNsXCvRIIJ9WRO2 ZyFYQ/RFwxYpEvLFDfjjzyHJrz4uCWbtC8XQqXwch/HM2yPGHTGBMcLCMGn4WlBjMAqf eQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2v2f5ejh5c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 17 Sep 2019 00:14:07 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 17 Sep 2019 00:14:06 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 17 Sep 2019 00:14:06 -0700 Received: from thaq.marvell.com (unknown [10.28.10.34]) by maili.marvell.com (Postfix) with ESMTP id 032963F703F; Tue, 17 Sep 2019 00:14:04 -0700 (PDT) From: To: CC: , , Thanseerulhaq Date: Tue, 17 Sep 2019 12:43:29 +0530 Message-ID: <1568704409-14384-1-git-send-email-thaq@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-17_04:2019-09-11,2019-09-17 signatures=0 Subject: [dts] [PATCH] tests/TestSuite_eventdev_perf.py: Increased eventdev app termination 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" From: Thanseerulhaq Signed-off-by: Thanseerulhaq --- 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_id) 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_id) self.dut.kill_all() -- 1.8.3.1