[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dpdk-dts
Subject:    [dts] [PATCH] fix unit_test_eal test_flags timout
From:       yong.liu () intel ! com (Liu, Yong)
Date:       2015-10-23 7:01:54
Message-ID: 5629DB62.7070909 () intel ! com
[Download RAW message or body]

Applied. Thanks.

On 10/22/2015 10:47 AM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
> ---
> 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, ",")')


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic