test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/TestSuite_eventdev_perf.py : Moved Unbind_eventdev_port function call to tear_down_all tests/TestSuite_eventdev_pipeline_perf.py : Moved Unbind_eventdev_port function call to tear_down_all
@ 2019-07-01  5:58 thaq
  2019-07-03  5:56 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: thaq @ 2019-07-01  5:58 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Thanseerulhaq

From: Thanseerulhaq <thaq@marvell.com>

Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
 tests/TestSuite_eventdev_perf.py          | 4 ++--
 tests/TestSuite_eventdev_pipeline_perf.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_eventdev_perf.py b/tests/TestSuite_eventdev_perf.py
index d950a87..a2520a8 100644
--- a/tests/TestSuite_eventdev_perf.py
+++ b/tests/TestSuite_eventdev_perf.py
@@ -1596,11 +1596,11 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
         """
         Run after each test case.
         """
-        self.dut.send_expect("^C", "# ", 5)
-        self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
 
     def tear_down_all(self):
         """
         Run after each test suite.
         """
+        self.dut.send_expect("^C", "# ", 5)
+        self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
         self.dut.kill_all()
diff --git a/tests/TestSuite_eventdev_pipeline_perf.py b/tests/TestSuite_eventdev_pipeline_perf.py
index 1d8a374..6a4bcad 100644
--- a/tests/TestSuite_eventdev_pipeline_perf.py
+++ b/tests/TestSuite_eventdev_pipeline_perf.py
@@ -824,11 +824,11 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
         """
         Run after each test case.
         """
-        self.dut.send_expect("^C", "# ", 5)
-        self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
 
     def tear_down_all(self):
         """
         Run after each test suite.
         """
+        self.dut.send_expect("^C", "# ", 5)
+        self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
         self.dut.kill_all()
-- 
1.8.3.1


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

end of thread, other threads:[~2019-07-03  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01  5:58 [dts] [PATCH] tests/TestSuite_eventdev_perf.py : Moved Unbind_eventdev_port function call to tear_down_all tests/TestSuite_eventdev_pipeline_perf.py : Moved Unbind_eventdev_port function call to tear_down_all thaq
2019-07-03  5:56 ` 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).