From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B3551A0555; Tue, 18 Feb 2020 05:23:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B78B1D8D4; Tue, 18 Feb 2020 05:23:24 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 39B601D565 for ; Tue, 18 Feb 2020 05:23:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 20:23:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,455,1574150400"; d="scan'208";a="348618407" Received: from cy-optiplex-5060.sh.intel.com ([10.240.179.63]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2020 20:23:20 -0800 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Tue, 18 Feb 2020 12:22:46 +0800 Message-Id: <20200218042246.2994-3-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200218042246.2994-1-haiyangx.zhao@intel.com> References: <20200218042246.2994-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" *.In some test env, the function get_core_list return cores not as much as we expected, so use all. Signed-off-by: Haiyang Zhao --- tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index 6a76bb2..bf97a91 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -91,7 +91,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): self.verify(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(core_config, + self.core_list = self.dut.get_core_list('all', socket=self.ports_socket) def prepare_vm_env(self): -- 2.17.1