From 0ad0f39954f785e17af1d8fe333482a0c6397702 Mon Sep 17 00:00:00 2001 From: jiajingbin <39030567+jiajingbin@users.noreply.github.com> Date: Mon, 20 Dec 2021 13:56:24 +0800 Subject: [PATCH] Update common.py --- .../perftest-scripts/taosadapter_perftest/src/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/perftest-scripts/taosadapter_perftest/src/common/common.py b/tests/perftest-scripts/taosadapter_perftest/src/common/common.py index 9ae236972d..21aa6ca734 100644 --- a/tests/perftest-scripts/taosadapter_perftest/src/common/common.py +++ b/tests/perftest-scripts/taosadapter_perftest/src/common/common.py @@ -104,7 +104,7 @@ class Common: f.write(file_data) des_jmx_file_list.append(des_jmx_file) else: - des_jmx_file = os.path.join(self.current_dir, f'../../config/taosd_dnode1.jmx') + des_jmx_file = os.path.join(self.current_dir, f'../../config/{testcase}_taosd_dnode1.jmx') shutil.copyfile(base_jmx_file, des_jmx_file) with open(des_jmx_file, 'r', encoding='utf-8') as f: -- GitLab