From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4468EC3E2 for ; Fri, 23 Oct 2015 08:59:37 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 22 Oct 2015 23:59:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833649873" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga002.fm.intel.com with ESMTP; 22 Oct 2015 23:59:35 -0700 Message-ID: <5629DB62.7070909@intel.com> Date: Fri, 23 Oct 2015 15:01:54 +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: <1445482024-11819-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1445482024-11819-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] fix unit_test_eal test_flags timout 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: Fri, 23 Oct 2015 06:59:37 -0000 Applied. Thanks. On 10/22/2015 10:47 AM, 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 22a24a6..e7beb1a 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=5)' % (rxItf, expPkts)) > + self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=10)' % (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)' % (rxItf, expPkts)) > + self.tester.scapy_append('p = sniff(iface="%s", count=%d, timeout=15)' % (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, ",")')