test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  [PATCH V3] tests/flow_filtering: suite CVL
@ 2019-12-02 17:36 Xiaoxiao Zeng
  2019-12-02  5:50 ` Peng, Yuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoxiao Zeng @ 2019-12-02 17:36 UTC (permalink / raw)
  To: dts; +Cc: Xiaoxiao Zeng

*.columbiaville_100g default open rss,fvl defualt close rss.

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
---
 tests/TestSuite_flow_filtering.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 242d321..8be17de 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -95,7 +95,10 @@ 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!")
+        if self.nic == ('columbiaville_100g'):
+            self.verify(len(queue_list) == 1 and queue_list[0] != "0x0", "Dismatch rule failed!")
+        else:
+            self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch rule failed!")
 
     def tear_down(self):
         """
-- 
2.17.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-02  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 17:36 [dts] [PATCH V3] tests/flow_filtering: suite CVL Xiaoxiao Zeng
2019-12-02  5:50 ` Peng, Yuan

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).