[dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
Wenjie Li
wenjiex.a.li at intel.com
Thu Aug 15 12:35:39 CEST 2019
Should bind the ports to dpdk in tear_down_all, since ports are bind to
kernel driver in set_up_all; without this action, it will affect
following tests.
Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
---
tests/TestSuite_hotplug_mp.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py
index 3a43058..42bbee9 100644
--- a/tests/TestSuite_hotplug_mp.py
+++ b/tests/TestSuite_hotplug_mp.py
@@ -309,5 +309,6 @@ class TestHotplugMp(TestCase):
"""
Run after each test suite.
"""
+ self.dut.bind_interfaces_linux(self.drivername)
self.dut.close_session(self.dut)
self.dut.kill_all()
--
2.17.1
More information about the dts
mailing list