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 4FA5DA0487 for ; Mon, 1 Jul 2019 07:59:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A9D9325F; Mon, 1 Jul 2019 07:59:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 3D54A2C60 for ; Mon, 1 Jul 2019 07:59:24 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x615uHxF002327 for ; Sun, 30 Jun 2019 22:59:23 -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=ueX9AwFFV1b2HJntOBZppsdJlLNEzQr4GbRG90ScVFI=; b=qz5FXUHNIcGG6V0Fhnc8IKObB65zrp2GRZFZetgtR0jME+LmU/9yVZjGJazdcDkHYFEF FjF+cYoifyfiQ98MunZtUysUKupPDroPzVX6ni5JCafdArpesRcYa0POZYiMYqTDQnb7 t2/aofzkMJ1nkOhXxg3jjH6gCADV4OgnTGUJUt9IN+gGznOvbs2MUQ9g6hmwLEB/mNGC d5bC6AxMlQW2pKKkSso42ic27szd/I8JC64mNsaxhx0aP5c8lw3s50g9Tqc4MJUkh6ba UiRdrY2jYE4HI+3r/2vY4zgeVCjHYZkEmE7YgcUj0fap/7+Ck5VY2Wxrv344qmRJGZEv yQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2te5bn66dw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 30 Jun 2019 22:59:23 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 30 Jun 2019 22:59:22 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 30 Jun 2019 22:59:22 -0700 Received: from thaq.marvell.com (unknown [10.28.10.34]) by maili.marvell.com (Postfix) with ESMTP id 6CDBE3F703F; Sun, 30 Jun 2019 22:59:21 -0700 (PDT) From: To: CC: , , Thanseerulhaq Date: Mon, 1 Jul 2019 11:28:51 +0530 Message-ID: <1561960731-10416-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:, , definitions=2019-07-01_04:, , signatures=0 Subject: [dts] [PATCH] tests/TestSuite_eventdev_perf.py : Moved Unbind_eventdev_port function call to tear_down_all tests/TestSuite_eventdev_pipeline_perf.py : Moved Unbind_eventdev_port function call to tear_down_all 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 | 4 ++-- tests/TestSuite_eventdev_pipeline_perf.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_eventdev_perf.py b/tests/TestSuite_eventdev_perf.py index d950a87..a2520a8 100644 --- a/tests/TestSuite_eventdev_perf.py +++ b/tests/TestSuite_eventdev_perf.py @@ -1596,11 +1596,11 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator): """ Run after each test case. """ - self.dut.send_expect("^C", "# ", 5) - self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id) def tear_down_all(self): """ Run after each test suite. """ + self.dut.send_expect("^C", "# ", 5) + 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 1d8a374..6a4bcad 100644 --- a/tests/TestSuite_eventdev_pipeline_perf.py +++ b/tests/TestSuite_eventdev_pipeline_perf.py @@ -824,11 +824,11 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator): """ Run after each test case. """ - self.dut.send_expect("^C", "# ", 5) - self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id) def tear_down_all(self): """ Run after each test suite. """ + self.dut.send_expect("^C", "# ", 5) + self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id) self.dut.kill_all() -- 1.8.3.1