test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue
@ 2023-02-17 10:46 Wei Ling
  2023-03-07  3:22 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-02-17 10:46 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

Fix the code unuse issue, if unuse the core_config parameter,
it will use all the cores of the socket.

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

diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index a1f3e8dd..dd7ff491 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -70,7 +70,9 @@ class TestVhostVirtioPmdInterrupt(TestCase):
             self.cores_num >= (self.nb_cores + 1),
             "There has not enough cores to running case: %s" % self.running_case,
         )
-        self.core_list = self.dut.get_core_list("all", socket=self.ports_socket)
+        self.core_list = self.dut.get_core_list(
+            config=core_config, socket=self.ports_socket
+        )
 
     def prepare_vm_env(self):
         """
-- 
2.25.1


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

* [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue
  2023-02-17 10:46 [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue Wei Ling
@ 2023-03-07  3:22 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-03-07  3:22 UTC (permalink / raw)
  To: dts, Wei Ling; +Cc: Wei Ling

On Fri, 17 Feb 2023 18:46:27 +0800, Wei Ling <weix.ling@intel.com> wrote:
> Fix the code unuse issue, if unuse the core_config parameter,
> it will use all the cores of the socket.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks

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

end of thread, other threads:[~2023-03-07  3:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 10:46 [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue Wei Ling
2023-03-07  3:22 ` lijuan.tu

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).