From patchwork Mon Sep 28 04:43:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: usurekha@marvell.com X-Patchwork-Id: 78964 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F3028A04C0; Mon, 28 Sep 2020 06:49:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E6CB81D531; Mon, 28 Sep 2020 06:48:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 096591D427 for ; Mon, 28 Sep 2020 06:48:56 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08S4lKqY031743 for ; Sun, 27 Sep 2020 21:48:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=w9WWBb6u0Y7woO3JCYeWNlQM5RxoC8PzobfoDRC2V1w=; b=JMNDevBX1i+iYX0Jl7XFariHO8WVtU+Xh9fxw2RHPe2d7o0HXGDFwn9CEuauN9FGJr2T pKWqO5Gi3f3G/73DNs9W2dF2TX+IOV3UyhupCP7fOrMHqJB0nkI1u+dBO9BOEayrkWH2 2DG6Ir69m3y7ekLnlUPqxy3VcaB45ZEJOr5qB98FH0EcFeDP8aFSs/48AJ5TFsXsr/xV KGxwrO2Qf6cLx4PdDC39GpBZOac4Stn8C1rJqrhatjVQiu2X2L8/kOyiOO237Ua6eAd5 /jP9xm7tQnmtYWgaOjtdl9DcX7naYlTaG7wBN5aj/lielmN0ru6o65dVgl6syxUGyLmA Og== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 33teem5kx0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 27 Sep 2020 21:48:55 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 27 Sep 2020 21:48:54 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 27 Sep 2020 21:48:54 -0700 Received: from cavium.marvell.com (unknown [10.28.8.64]) by maili.marvell.com (Postfix) with ESMTP id A796F3F703F; Sun, 27 Sep 2020 21:48:52 -0700 (PDT) From: To: CC: , , usurekha Date: Mon, 28 Sep 2020 10:13:55 +0530 Message-ID: <1601268235-973-1-git-send-email-usurekha@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-28_03:2020-09-24, 2020-09-28 signatures=0 Subject: [dts] [PATCH] tests/TestSuite_stats_checks.py: Removed the unused module and invalid verification line. 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" From: usurekha Signed-off-by: usurekha --- tests/TestSuite_stats_checks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/TestSuite_stats_checks.py b/tests/TestSuite_stats_checks.py index e1c443b..4fdc086 100644 --- a/tests/TestSuite_stats_checks.py +++ b/tests/TestSuite_stats_checks.py @@ -40,7 +40,6 @@ from typing import List, Iterator, Tuple import utils from pmd_output import PmdOutput -from port import Port from test_case import TestCase @@ -124,7 +123,6 @@ class TestStatsChecks(TestCase): if received: self.verify(tx_pkts_difference >= 1, "No packet was sent") - self.verify(tx_bytes_difference == pktsize + ETHER_HEADER_LEN) self.verify(tx_pkts_difference == rx_pkts_difference, "different numbers of packets sent and received") self.verify(tx_bytes_difference == rx_bytes_difference, "different number of bytes sent and received") self.verify(tx_err_difference == 0, "unexpected tx error")