test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment
@ 2019-12-02 20:54 Xiaoxiao Zeng
  2019-12-03  6:20 ` Peng, Yuan
  2019-12-04  6:15 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xiaoxiao Zeng @ 2019-12-02 20:54 UTC (permalink / raw)
  To: dts; +Cc: Xiaoxiao Zeng

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@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


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

end of thread, other threads:[~2019-12-04  6:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 20:54 [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment Xiaoxiao Zeng
2019-12-03  6:20 ` Peng, Yuan
2019-12-04  6:15 ` 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).