[V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed
Checks
Context |
Check |
Description |
ci/Intel-suite-dts-test |
warning
|
SKIPPED
|
Commit Message
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(-)
Comments
> -----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>
> -----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
@@ -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