[dts] [PATCH V1 3/3]virtio_user_as_exceptional_path: bind port back after testsuite end
Xiao Qimai
qimaix.xiao at intel.com
Thu Apr 30 08:40:57 CEST 2020
Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
tests/TestSuite_virtio_user_as_exceptional_path.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_virtio_user_as_exceptional_path.py b/tests/TestSuite_virtio_user_as_exceptional_path.py
index 35a0a98..faf8c49 100644
--- a/tests/TestSuite_virtio_user_as_exceptional_path.py
+++ b/tests/TestSuite_virtio_user_as_exceptional_path.py
@@ -322,6 +322,10 @@ class TestVirtioUserAsExceptionalPath(TestCase):
"""
Run after each test suite.
"""
+ # bind the port conf in ports.cfg
+ for i in self.dut_ports:
+ port = self.dut.ports_info[i]['port']
+ port.bind_driver(self.def_driver)
self.unprepare_dpdk()
if self.peer_pci_setup:
self.dut.send_expect(
--
1.8.3.1
More information about the dts
mailing list