From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 074B3A0577; Tue, 7 Apr 2020 12:18:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1C7A1BE90; Tue, 7 Apr 2020 12:17:59 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4D9721BE8E for ; Tue, 7 Apr 2020 12:17:59 +0200 (CEST) IronPort-SDR: BRr3PYvQxDaOWQcuRY9eupowR5I7CIGb5JQxRs1QBfESFKPl6DmsGrMj0/zwGN1Uznm2pmcDjO YuuNe4pV4+VA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2020 03:17:58 -0700 IronPort-SDR: bJqU33t/sjBEhegvBGHLF1gESJF0/0zd6KVmc7Ra0JH9s6emYNLrjkM/+DopvsKz7ZrXKMG9um WuKD3E6blBcA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,353,1580803200"; d="scan'208";a="269384864" Received: from unknown (HELO dpdk-xiaoqimai-dut.sh.intel.com) ([10.240.183.52]) by orsmga002.jf.intel.com with ESMTP; 07 Apr 2020 03:17:57 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 7 Apr 2020 18:12:13 +0800 Message-Id: <1586254333-336797-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1]pvp_vhost_user_reconnect: Mpps should be larger to verify packets receive 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" *. env might receive a few misc packets of size 64 Signed-off-by: Xiao Qimai --- tests/TestSuite_pvp_vhost_user_reconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py b/tests/TestSuite_pvp_vhost_user_reconnect.py index 96ce734..a6f7685 100644 --- a/tests/TestSuite_pvp_vhost_user_reconnect.py +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py @@ -279,7 +279,7 @@ class TestPVPVhostUserReconnect(TestCase): traffic_opt = {'delay': 30, } _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams, options=traffic_opt) Mpps = pps / 1000000.0 - self.verify(Mpps > 0, "can not receive packets of frame size %d" % (frame_size)) + self.verify(Mpps > 5, "can not receive packets of frame size %d" % (frame_size)) pct = Mpps * 100 / \ float(self.wirespeed(self.nic, frame_size, 1)) if cycle == 0: -- 1.8.3.1