* [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>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--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
* Re: [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed
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
0 siblings, 1 reply; 3+ messages in thread
From: Chen, LingliX @ 2021-09-24 1:45 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Yan Xia
> Sent: Friday, September 24, 2021 1:35 AM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information:
> optimize the log when the case failed
>
> optimize the log info when the case failed
>
> Signed-off-by: Yan Xia <yanx.xia@intel.com>
Tested-by: Yan Xia <yanx.xia@intel.com>
[-- Attachment #2: TestIxgbeVfGetExtraInfo.log --]
[-- Type: application/octet-stream, Size: 80822 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed
2021-09-24 1:45 ` Chen, LingliX
@ 2021-09-27 6:18 ` Tu, Lijuan
0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-09-27 6:18 UTC (permalink / raw)
To: Chen, LingliX, dts
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> Sent: 2021年9月24日 9:46
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information:
> optimize the log when the case failed
>
>
> > -----Original Message-----
> > From: dts <dts-bounces@dpdk.org> On Behalf Of Yan Xia
> > Sent: Friday, September 24, 2021 1:35 AM
> > To: dts@dpdk.org
> > Cc: Xia, YanX <yanx.xia@intel.com>
> > Subject: [dts] [PATCH V1] tests/ixgbe_vf_get_extra_queue_information:
> > optimize the log when the case failed
> >
> > optimize the log info when the case failed
> >
> > Signed-off-by: Yan Xia <yanx.xia@intel.com>
>
> Tested-by: Yan Xia <yanx.xia@intel.com>
Applied
^ 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).