[V1] tests/vf_single_core: fix the result of vf_single_core is overwritten

Message ID 20201116021156.63815-1-yingyax.han@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/vf_single_core: fix the result of vf_single_core is overwritten |

Commit Message

Yingya Han Nov. 16, 2020, 2:11 a.m. UTC
  duplicated with nic_single_core suite.

Signed-off-by: hanyingya <yingyax.han@intel.com>
---
 tests/TestSuite_vf_single_core_perf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Zhao, HaiyangX Nov. 17, 2020, 9:49 a.m. UTC | #1
Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang


> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of hanyingya
> Sent: Monday, November 16, 2020 10:12
> To: dts@dpdk.org
> Cc: Han, YingyaX <yingyax.han@intel.com>
> Subject: [dts] [PATCH V1]tests/vf_single_core: fix the result of
> vf_single_core is overwritten
  
Tu, Lijuan Nov. 18, 2020, 3:31 a.m. UTC | #2
> duplicated with nic_single_core suite.
> 
> Signed-off-by: hanyingya <yingyax.han@intel.com>

Applied
  

Patch

diff --git a/tests/TestSuite_vf_single_core_perf.py b/tests/TestSuite_vf_single_core_perf.py
index 57ab7240..47550bf8 100644
--- a/tests/TestSuite_vf_single_core_perf.py
+++ b/tests/TestSuite_vf_single_core_perf.py
@@ -374,7 +374,7 @@  class TestVfSingleCorePerf(TestCase):
                     json_obj[case_name].append(row_dict0)
                     status_result.append(row_dict0['status'])
         with open(os.path.join(rst.path2Result,
-                               '{0:s}_single_core_perf.json'.format(
+                               '{0:s}_vf_single_core_perf.json'.format(
                                    self.nic)), 'w') as fp:
             json.dump(json_obj, fp)
         self.verify("FAIL" not in status_result, "Excessive gap between test results and expectations")