From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B1BC3936C for ; Thu, 22 Oct 2015 04:51:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 21 Oct 2015 19:51:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,180,1444719600"; d="scan'208";a="799798759" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga001.jf.intel.com with ESMTP; 21 Oct 2015 19:51:26 -0700 From: Lijuan Tu To: dts@dpdk.org Date: Thu, 22 Oct 2015 10:47:04 +0800 Message-Id: <1445482024-11819-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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: Thu, 22 Oct 2015 02:51:29 -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 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, ",")') -- 1.9.3