From cd0a23c983a90d9df57030454a48fab4d01baa59 Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao@163.com> Date: Wed, 30 Oct 2024 16:29:42 +0800 Subject: [PATCH] remove sudo --- tests/pytest/util/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pytest/util/common.py b/tests/pytest/util/common.py index 1ec6d2cbb9..5827f0757f 100644 --- a/tests/pytest/util/common.py +++ b/tests/pytest/util/common.py @@ -840,7 +840,7 @@ class TDCom: if (platform.system().lower() == 'windows'): os.system("TASKKILL /F /IM %s.exe"%processorName) else: - os.system("unset LD_PRELOAD; sudo pkill %s " % processorName) + os.system("unset LD_PRELOAD; pkill %s " % processorName) def gen_tag_col_str(self, gen_type, data_type, count): """