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 B9B80A328D for ; Wed, 23 Oct 2019 05:53:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A473C1BF46; Wed, 23 Oct 2019 05:53:38 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id D637E1BF3E for ; Wed, 23 Oct 2019 05:53:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2019 20:53:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,219,1569308400"; d="scan'208";a="227977329" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 22 Oct 2019 20:53:35 -0700 From: "zhu,shuai" To: dts@dpdk.org Cc: "zhu,shuai" Date: Wed, 23 Oct 2019 11:58:47 +0800 Message-Id: <1571803127-115675-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default 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" Increase the default timeout time in the send_pkt method. Signed-off-by: zhu,shuai --- tests/TestSuite_l3fwdacl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index dce37de..564ceb2 100644 --- a/tests/TestSuite_l3fwdacl.py +++ b/tests/TestSuite_l3fwdacl.py @@ -272,7 +272,7 @@ class TestL3fwdacl(TestCase): inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters) pkt = packet.Packet() pkt.append_pkt(ethernet_str) - pkt.send_pkt(crb=self.tester, tx_port=tx_interface) + pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30) out = self.remove_dhcp_from_revpackets(inst) return len(out) @@ -302,7 +302,7 @@ class TestL3fwdacl(TestCase): inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil) pkt = packet.Packet() pkt.append_pkt(ethernet_str) - pkt.send_pkt(crb=self.tester, tx_port=tx_interface) + pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30) out = self.remove_dhcp_from_revpackets(inst) return len(out) @@ -320,7 +320,7 @@ class TestL3fwdacl(TestCase): inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters) pkt = packet.Packet() pkt.append_pkt(etherStr) - pkt.send_pkt(crb=self.tester, tx_port=tx_interface) + pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30) out = self.remove_dhcp_from_revpackets(inst) return len(out) @@ -336,7 +336,7 @@ class TestL3fwdacl(TestCase): inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil) pkt = packet.Packet() pkt.append_pkt(etherStr) - pkt.send_pkt(crb=self.tester, tx_port=tx_interface) + pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30) out = self.remove_dhcp_from_revpackets(inst) return len(out) -- 2.17.2