test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed
@ 2021-09-23 17:35 Yan Xia
  2021-09-24  1:45 ` Chen, LingliX
  0 siblings, 1 reply; 3+ messages in thread
From: Yan Xia @ 2021-09-23 17:35 UTC (permalink / raw)
  To: dts; +Cc: Yan Xia

optimize the log info when the case failed

Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
 tests/TestSuite_ixgbe_vf_get_extra_queue_information.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ixgbe_vf_get_extra_queue_information.py b/tests/TestSuite_ixgbe_vf_get_extra_queue_information.py
index 57db70f4..eeef6c75 100644
--- a/tests/TestSuite_ixgbe_vf_get_extra_queue_information.py
+++ b/tests/TestSuite_ixgbe_vf_get_extra_queue_information.py
@@ -130,7 +130,7 @@ class TestIxgbeVfGetExtraInfo(TestCase):
         elif rev_num_added1 == 100 and rev_byte_added1 != 0:
             queue = 1
         else:
-            print(utils.RED("There is no packet received."))
+            self.verify(False, "There is no packet received.")
 
         return queue
 
-- 
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-27  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 17:35 [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed Yan Xia
2021-09-24  1:45 ` Chen, LingliX
2021-09-27  6:18   ` Tu, Lijuan

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).