From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BAA2F8E8A for ; Wed, 4 Nov 2015 08:59:58 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 03 Nov 2015 23:59:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,241,1444719600"; d="scan'208";a="678005670" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga003.jf.intel.com with ESMTP; 03 Nov 2015 23:59:54 -0800 Message-ID: <5639BB54.6050704@intel.com> Date: Wed, 04 Nov 2015 16:01:24 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Lijuan Tu , dts@dpdk.org References: <1446622373-39541-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1446622373-39541-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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:59:59 -0000 Applied. Thanks. On 11/04/2015 03:32 PM, Lijuan Tu wrote: > 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, ",")')