[V1] tests/vhost_virtio_pmd_interrupt: fix the code unuse issue
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
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(-)
Comments
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
@@ -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):
"""