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 47A4A5599 for ; Wed, 21 Sep 2016 12:17:07 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 Sep 2016 03:17:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,373,1470726000"; d="scan'208";a="1034120531" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 21 Sep 2016 03:17:05 -0700 From: "xu,gang" To: dts@dpdk.org Cc: "xu,gang" Date: Wed, 21 Sep 2016 18:18:36 +0800 Message-Id: <1474453120-24986-1-git-send-email-gangx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2 1/5] fix TestSuite ieee1588 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, 21 Sep 2016 10:17:07 -0000 wait for subprocess end in scapy_execute() Signed-off-by: xu,gang --- tests/TestSuite_ieee1588.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py index bfbb23b..7976c9f 100644 --- a/tests/TestSuite_ieee1588.py +++ b/tests/TestSuite_ieee1588.py @@ -92,6 +92,7 @@ class TestIeee1588(TestCase): self.tester.scapy_append('time.sleep(1)') self.tester.scapy_execute() + time.sleep(10) out = self.tester.scapy_get_result() self.verify("0x88f7" in out, "Ether type is not PTP") # self.verify("\\x00\\x02" in out, "Payload wrong in PTP") -- 1.9.3