From 889bea29b406dd776e513022f30415bf210c7c19 Mon Sep 17 00:00:00 2001 From: menshibin Date: Wed, 3 Jan 2024 16:20:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0TS-4411bug=E7=9A=84case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/army/community/query/fill/fill_desc.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/army/community/query/fill/fill_desc.py b/tests/army/community/query/fill/fill_desc.py index 10b93079e4..7ef8155b1e 100644 --- a/tests/army/community/query/fill/fill_desc.py +++ b/tests/army/community/query/fill/fill_desc.py @@ -1,11 +1,13 @@ import taos import sys -from util.log import * -from util.sql import * -from util.cases import * +from frame.log import * +from frame.cases import * +from frame.sql import * +from frame.caseBase import * +from frame import * -class TDTestCase: +class TDTestCase(TBase): def init(self, conn, logSql, replicaVar=1): self.replicaVar = int(replicaVar) @@ -41,7 +43,7 @@ class TDTestCase: tdLog.printNoPrefix("==========step3:fill data") - tdSql.query(f"wstart as ts, first(point_value) as pointValu from {dbname}.{tbname} where ts between '2823-12-2510:35:00' and '2023-12-2510:40:00' fill(prev) order by wstart desc limit 100") + tdSql.query(f"wstart as ts, first(point_value) as pointValu from {dbname}.{tbname} where wstart between '2823-12-2510:35:00' and '2023-12-2510:40:00' fill(prev) order by wstart desc limit 100") tdSql.checkRows(6) tdSql.checkData(0, 1, 5) tdSql.checkData(1, 1, 5)