From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 74F718D8A for ; Wed, 4 Nov 2015 08:37:18 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 03 Nov 2015 23:37:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,241,1444719600"; d="scan'208";a="842717510" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 03 Nov 2015 23:37:17 -0800 From: Lijuan Tu To: dts@dpdk.org Date: Wed, 4 Nov 2015 15:32:53 +0800 Message-Id: <1446622373-39541-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [patch] tests ipfrag_fragment : extend more time for sniffing packets 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: , X-List-Received-Date: Wed, 04 Nov 2015 07:37:18 -0000 Signed-off-by: Lijuan Tu --- tests/TestSuite_ipfrag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index e7beb1a..c2623b6 100644 --- a/tests/TestSuite_ipfrag.py +++ b/tests/TestSuite_ipfrag.py @@ -153,7 +153,7 @@ l3fwd_ipv4_route_array[] = {\\\n" # set wait packet self.tester.scapy_background() self.tester.scapy_append('import string') - self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=10)' % (rxItf, expPkts)) + self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=60)' % (rxItf, expPkts)) self.tester.scapy_append('nr_packets=len(p)') self.tester.scapy_append('reslist = [p[i].sprintf("%IP.len%;%IP.id%;%IP.flags%;%IP.frag%") for i in range(nr_packets)]') self.tester.scapy_append('RESULT = string.join(reslist, ",")') @@ -211,7 +211,7 @@ l3fwd_ipv4_route_array[] = {\\\n" # set wait packet self.tester.scapy_background() self.tester.scapy_append('import string') - self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=15)' % (rxItf, expPkts)) + self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=60)' % (rxItf, expPkts)) self.tester.scapy_append('nr_packets=len(p)') self.tester.scapy_append('reslist = [p[i].sprintf("%IPv6.plen%;%IPv6.id%;%IPv6ExtHdrFragment.m%;%IPv6ExtHdrFragment.offset%") for i in range(nr_packets)]') self.tester.scapy_append('RESULT = string.join(reslist, ",")') -- 1.9.1