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 940A6A318B for ; Fri, 18 Oct 2019 09:13:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E8831C0C7; Fri, 18 Oct 2019 09:13:38 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 3834B1BFF8 for ; Fri, 18 Oct 2019 09:13: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 fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2019 00:13:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,310,1566889200"; d="scan'208";a="226447968" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 18 Oct 2019 00:13:35 -0700 From: "zhu,shuai" To: dts@dpdk.org Cc: "zhu,shuai" Date: Fri, 18 Oct 2019 15:18:48 +0800 Message-Id: <1571383128-31278-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/vxlan:add 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" add time Signed-off-by: zhu,shuai --- tests/TestSuite_vxlan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index 591ba8c..e29e4a9 100644 --- a/tests/TestSuite_vxlan.py +++ b/tests/TestSuite_vxlan.py @@ -444,8 +444,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator): # save the capture packet into pcap format inst = self.tester.tcpdump_sniff_packets(self.recv_iface) config.send_pcap(self.tester_iface) - pkt = self.tester.load_tcpdump_sniff_packets(inst) - time.sleep(5) + pkt = self.tester.load_tcpdump_sniff_packets(inst, timeout=3) # extract the checksum offload from saved pcap file chksums = config.get_chksums(pkt=pkt) -- 2.17.2