From 72a8fb15b747b8b972725ff3acf6369bbc28f9a0 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sun, 18 Feb 2024 21:21:41 +0800 Subject: [PATCH] fix: fullopt.py index error --- tests/army/community/cmdline/fullopt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/army/community/cmdline/fullopt.py b/tests/army/community/cmdline/fullopt.py index 0a870c52b5..c03ba428a1 100644 --- a/tests/army/community/cmdline/fullopt.py +++ b/tests/army/community/cmdline/fullopt.py @@ -48,7 +48,7 @@ class TDTestCase(TBase): etool.benchMark(command = f"-d {self.db} -t {self.childtable_count} -n {self.insert_rows} -v 2 -y") def checkQueryOK(self, rets): - if rets[-1][:9] != "Query OK,": + if rets[-2][:9] != "Query OK,": tdLog.exit(f"check taos -s return unecpect: {rets}") def doTaos(self):