[dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment
Tu, Lijuan
lijuan.tu at intel.com
Wed Dec 4 07:15:33 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Tuesday, December 3, 2019 4:54 AM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule
> judgment
>
> Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
> ---
> tests/TestSuite_flow_filtering.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_flow_filtering.py
> b/tests/TestSuite_flow_filtering.py
> index 242d321..80f5d86 100644
> --- a/tests/TestSuite_flow_filtering.py
> +++ b/tests/TestSuite_flow_filtering.py
> @@ -95,7 +95,7 @@ class TestFlowFiltering(TestCase):
> pkg = {'IP/dst': 'Ether(dst="%s")/IP(src="0.0.0.0",
> dst="192.168.1.2")/Raw("x"*20)' % self.dts_mac}
> self.send_packet(pkg)
> queue_list = self.check_flow_queue()
> - self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch
> rule failed!")
> + self.verify(len(queue_list) == 1 and queue_list[0] != "0x1", "Dismatch
> rule failed!")
>
> def tear_down(self):
> """
> --
> 2.17.0
More information about the dts
mailing list