test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
@ 2021-03-30  9:23 Ling Wei
  2021-03-30  9:30 ` Ling, WeiX
  0 siblings, 1 reply; 4+ messages in thread
From: Ling Wei @ 2021-03-30  9:23 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

Add bind ports of ports.cfg step to avoid the effects 
on other testsuites.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_dpdk_gro_lib.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py
index efd04ffd..f5668ad4 100644
--- a/tests/TestSuite_dpdk_gro_lib.py
+++ b/tests/TestSuite_dpdk_gro_lib.py
@@ -483,6 +483,9 @@ class TestDPDKGROLib(TestCase):
         """
         Run after each test suite.
         """
+        for i in self.dut_ports:
+            port = self.dut.ports_info[i]['port']
+            port.bind_driver(self.def_driver)
         self.unprepare_dpdk()
         self.dut.send_expect("ip netns del ns1", "# ", 30)
         self.dut.send_expect("./usertools/dpdk-devbind.py -u %s" % (self.pci), '# ', 30)
-- 
2.25.1


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

end of thread, other threads:[~2021-04-07  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30  9:23 [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step Ling Wei
2021-03-30  9:30 ` Ling, WeiX
2021-04-01  5:17   ` Wang, Yinan
2021-04-07  1:08     ` 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).