test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/userspace_ethtool: optimization script
@ 2022-04-28 14:39 Jiale Song
  2022-04-28  7:09 ` Huang, ZhiminX
  2022-05-05  6:12 ` lijuan.tu
  0 siblings, 2 replies; 3+ messages in thread
From: Jiale Song @ 2022-04-28 14:39 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

In some case tests, the port is bound to the kernel driver. when these cases fail, 
the port will always be bound to the kernel driver, affecting the tests of later cases.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 2b0269f4..c1818722 100755
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -699,6 +699,7 @@ class TestUserspaceEthtool(TestCase):
         """
         Run after each test case.
         """
+        self.dut.bind_interfaces_linux(self.drivername)
         self.dut.kill_all()
         pass
 
-- 
2.17.1


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

end of thread, other threads:[~2022-05-05  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 14:39 [dts] [PATCH V1] tests/userspace_ethtool: optimization script Jiale Song
2022-04-28  7:09 ` Huang, ZhiminX
2022-05-05  6:12 ` lijuan.tu

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git