test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests cloud_filter: show filter type in validation process
@ 2016-07-07  5:45 Marvin Liu
  0 siblings, 0 replies; only message in thread
From: Marvin Liu @ 2016-07-07  5:45 UTC (permalink / raw)
  To: dts; +Cc: Marvin Liu

Show validating cloud filter type in the validation process. This
information will help with user to get to known that which filter caused
failure.

Signed-off-by: Marvin Liu <yong.liu@intel.com>

diff --git a/tests/TestSuite_cloud_filter.py b/tests/TestSuite_cloud_filter.py
index 59d0038..7348aea 100644
--- a/tests/TestSuite_cloud_filter.py
+++ b/tests/TestSuite_cloud_filter.py
@@ -308,9 +308,11 @@ class TestCloudFilter(TestCase):
         """
         Send packet match cloud filter rule and verify packet received
         """
+        self.logger.info("Verifying vxlan %s filter" % cloud_cfg.cf_rule['type'])
         if dpdk:
             cloud_cfg.transmit_packet()
             out = self.pmdout.get_output()
+            print out
             queue = cloud_cfg.cf_rule['queue']
             self.verify("queue %d" %
                         queue in out, "Vxlan not received in queue %d" % queue)
@@ -356,6 +358,8 @@ class TestCloudFilter(TestCase):
                 print "Kernel VF captured packet not match rule"
                 raise
 
+        self.logger.info("Verified vxlan %s filter pass" % cloud_cfg.cf_rule['type'])
+
     def test_cloud_filter(self):
         """
         Verify dpdk work with linux driver added cloud filter rule
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-07  5:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07  5:45 [dts] [PATCH] tests cloud_filter: show filter type in validation process Marvin Liu

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