test suite reviews and discussions
 help / color / mirror / Atom feed
From: <usurekha@marvell.com>
To: <dts@dpdk.org>
Cc: <pvukkisala@marvell.com>, <zzhou@marvell.com>,
	usurekha <usurekha@marvell.com>
Subject: [dts] [PATCH] tests/TestSuite_stats_checks.py: Removed the unused module and invalid verification line.
Date: Mon, 28 Sep 2020 10:13:55 +0530	[thread overview]
Message-ID: <1601268235-973-1-git-send-email-usurekha@marvell.com> (raw)

From: usurekha <usurekha@marvell.com>

Signed-off-by: usurekha <usurekha@marvell.com>
---
 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")
-- 
2.7.4


             reply	other threads:[~2020-09-28  4:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28  4:43 usurekha [this message]
2020-10-12  9:04 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601268235-973-1-git-send-email-usurekha@marvell.com \
    --to=usurekha@marvell.com \
    --cc=dts@dpdk.org \
    --cc=pvukkisala@marvell.com \
    --cc=zzhou@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).