From e262d2cac5fe0c3e7682257e9f550f402aa89f47 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Mon, 22 Apr 2024 11:17:25 +0800 Subject: [PATCH] fix: async call --checks3 --- tests/army/enterprise/s3/s3Basic.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/army/enterprise/s3/s3Basic.py b/tests/army/enterprise/s3/s3Basic.py index e445f20d49..c3a43aff36 100644 --- a/tests/army/enterprise/s3/s3Basic.py +++ b/tests/army/enterprise/s3/s3Basic.py @@ -212,9 +212,12 @@ class TDTestCase(TBase): taosd = sc.taosdFile(idx) cfg = sc.dnodeCfgPath(idx) cmd = f"{taosd} -c {cfg} --checks3" - output, error = eos.run(cmd) + + eos.exe(cmd) + #output, error = eos.run(cmd) #print(lines) + ''' tips = [ "put object s3test.txt: success", "listing bucket ci-bucket: success", @@ -226,6 +229,7 @@ class TDTestCase(TBase): pos = output.find(tip, pos) #if pos == -1: # tdLog.exit(f"checks3 failed not found {tip}. cmd={cmd} output={output}") + ''' # except self.checkExcept()