* [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
@ 2021-04-08 10:19 Xia Yan
2021-04-08 10:33 ` Peng, Yuan
0 siblings, 1 reply; 3+ messages in thread
From: Xia Yan @ 2021-04-08 10:19 UTC (permalink / raw)
To: dts; +Cc: Xia Yan
origin: Collect the queue for flow rule validate & create and leave it for later validation
now: only collect flow rule create for later verification, the queue during validate does not need to be verified
Signed-off-by: Xia Yan <yanx.xia@intel.com>
---
tests/TestSuite_generic_flow_api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py
index 6822f8ab..e8171589 100644
--- a/tests/TestSuite_generic_flow_api.py
+++ b/tests/TestSuite_generic_flow_api.py
@@ -241,11 +241,11 @@ class TestGeneric_flow_api(TestCase):
for flow_action in basic_flow_actions:
# generate the flow rule and corresponding packet.
flow_process = self.generate_random_command(**flow_action)
- expected_queue.append(flow_process['queue'])
# caculate the rule number created.
rule_created = self.flow_test_process(flow_process, flow_action)
if rule_created:
rule_num += 1
+ expected_queue.append(flow_process['queue'])
extra_packet.append(flow_process['extrapacket'])
# Configure a return value.
extrapkt_rulenum = {'extrapacket': extra_packet, 'rulenum': rule_num, 'queue': expected_queue}
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
2021-04-08 10:19 [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to Xia Yan
@ 2021-04-08 10:33 ` Peng, Yuan
2021-04-12 5:43 ` Tu, Lijuan
0 siblings, 1 reply; 3+ messages in thread
From: Peng, Yuan @ 2021-04-08 10:33 UTC (permalink / raw)
To: Xia, YanX, dts; +Cc: Xia, YanX
Acked-by Peng, Yuan <yuan.peng@intel.com>
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xia Yan
Sent: Thursday, April 8, 2021 6:20 PM
To: dts@dpdk.org
Cc: Xia, YanX <yanx.xia@intel.com>
Subject: [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
2021-04-08 10:33 ` Peng, Yuan
@ 2021-04-12 5:43 ` Tu, Lijuan
0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-04-12 5:43 UTC (permalink / raw)
To: Peng, Yuan, Xia, YanX, dts; +Cc: Xia, YanX
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Peng, Yuan
> Sent: 2021年4月8日 18:33
> To: Xia, YanX <yanx.xia@intel.com>; dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: Re: [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
>
> Acked-by Peng, Yuan <yuan.peng@intel.com>
>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xia Yan
> Sent: Thursday, April 8, 2021 6:20 PM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to
Applied
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-12 5:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 10:19 [dts] [PATCG V1] tests/generic_flow_api: Amend the queue list to Xia Yan
2021-04-08 10:33 ` Peng, Yuan
2021-04-12 5:43 ` 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).