From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2D937201 for ; Wed, 28 Dec 2016 03:49:42 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 27 Dec 2016 18:49:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,419,1477983600"; d="scan'208";a="1087311654" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 27 Dec 2016 18:49:41 -0800 From: "xu,gang" To: dts@dpdk.org Cc: "xu,gang" Date: Wed, 28 Dec 2016 10:50:48 +0800 Message-Id: <1482893448-18640-1-git-send-email-gangx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2] fix timeout on FreeBSD error 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, 28 Dec 2016 02:49:43 -0000 Signed-off-by: xu,gang --- tests/TestSuite_unit_tests_eal.py | 3 ++- tests/TestSuite_unit_tests_mbuf.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py index d27ba39..bebb00b 100644 --- a/tests/TestSuite_unit_tests_eal.py +++ b/tests/TestSuite_unit_tests_eal.py @@ -282,7 +282,8 @@ class TestUnitTestsEal(TestCase): """ self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time) - out = self.dut.send_expect("eal_flags_autotest", "RTE>>", self.run_cmd_time) + #on FreeBSd test_flags need more time than other + out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600) self.dut.send_expect("quit", "# ") self.verify("Test OK" in out, "Test failed") diff --git a/tests/TestSuite_unit_tests_mbuf.py b/tests/TestSuite_unit_tests_mbuf.py index 4fd660d..f1fce78 100644 --- a/tests/TestSuite_unit_tests_mbuf.py +++ b/tests/TestSuite_unit_tests_mbuf.py @@ -69,7 +69,7 @@ class TestUnitTestsMbuf(TestCase): """ self.dut.send_expect("./%s/app/test -n 1 -c f" % self.target, "R.*T.*E.*>.*>", 60) - out = self.dut.send_expect("mbuf_autotest", "RTE>>", 60) + out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180) self.dut.send_expect("quit", "# ") self.verify("Test OK" in out, "Test failed") -- 1.9.3