[dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed
Yan Xia
yanx.xia at intel.com
Thu Sep 23 19:35:24 CEST 2021
optimize the log info when the case failed
Signed-off-by: Yan Xia <yanx.xia at 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
More information about the dts
mailing list