Message ID | 20210923173524.116643-1-yanx.xia@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [V1] tests/ixgbe_vf_get_extra_queue_information: optimize the log when the case failed | expand |
Context | Check | Description |
---|---|---|
ci/Intel-suite-dts-test | warning | SKIPPED |
> -----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
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
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(-)