test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  testcase: fix some bugs for performance case
@ 2016-06-13  9:01 Ding Heng
  0 siblings, 0 replies; only message in thread
From: Ding Heng @ 2016-06-13  9:01 UTC (permalink / raw)
  To: dts; +Cc: Ding Heng

checksum_offload: set verbose will affect testpmd performance, delete it.
link_flow_control: self.pause_frame_loss_test() return value is tuple now, need
to make some change to adapt this change.

Signed-off-by: Ding Heng <hengx.ding@intel.com>

diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 7dc8ddc..26bbe25 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -305,7 +305,6 @@ class TestChecksumOffload(TestCase):
             self.pmdout.start_testpmd(
                 lcore, "--portmask=%s" % self.portMask, socket=self.ports_socket)
 
-            self.dut.send_expect("set verbose 1", "testpmd> ")
             self.dut.send_expect("set fwd csum", "testpmd> ")
             if mode == "hw":
                 self.checksum_enablehw(self.dut_ports[0])
diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index 11c1795..533e427 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -335,7 +335,7 @@ class TestLinkFlowctrl(TestCase):
         Disable link flow control and PAUSE frame forwarding
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='on',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='on',
                                             tx_flow_control='on',
                                             pause_frame_fwd='on')
 
@@ -349,7 +349,7 @@ class TestLinkFlowctrl(TestCase):
         Disable link flow control and enable PAUSE frame forwarding
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='on',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='on',
                                             tx_flow_control='on',
                                             pause_frame_fwd='off')
 
@@ -363,7 +363,7 @@ class TestLinkFlowctrl(TestCase):
         Enable only rx link flow control
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='on',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='on',
                                             tx_flow_control='on',
                                             pause_frame_fwd='off')
 
@@ -377,7 +377,7 @@ class TestLinkFlowctrl(TestCase):
         Enable link flow control and disable PAUSE frame forwarding
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='off',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='off',
                                             tx_flow_control='off',
                                             pause_frame_fwd='on')
 
@@ -391,7 +391,7 @@ class TestLinkFlowctrl(TestCase):
         Disable link flow control and PAUSE frame forwarding
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='off',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='off',
                                             tx_flow_control='off',
                                             pause_frame_fwd='off')
 
@@ -405,7 +405,7 @@ class TestLinkFlowctrl(TestCase):
         Disable link flow control and PAUSE frame forwarding
         """
 
-        result = self.pause_frame_loss_test(rx_flow_control='off',
+        result,_,_ = self.pause_frame_loss_test(rx_flow_control='off',
                                             tx_flow_control='on',
                                             pause_frame_fwd='off')
 
-- 
1.9.3

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

only message in thread, other threads:[~2016-06-13  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13  9:01 [dts] testcase: fix some bugs for performance case Ding Heng

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