From 4ce55566a87b5f99f0dc624b1f5f5a0dfa834616 Mon Sep 17 00:00:00 2001 From: happyguoxy Date: Tue, 14 Sep 2021 14:14:19 +0800 Subject: [PATCH] [TD-6635]:modify python file about ts = 1600000** --- tests/pytest/query/operator_cost.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytest/query/operator_cost.py b/tests/pytest/query/operator_cost.py index 27de3531eb..e7ec6d2b6d 100644 --- a/tests/pytest/query/operator_cost.py +++ b/tests/pytest/query/operator_cost.py @@ -25,7 +25,8 @@ class TDTestCase: tdLog.debug("start to execute %s" % __file__) tdSql.init(conn.cursor(), logSql) - self.ts = 1600000000000 + now = time.time() + self.ts = int(round(now * 1000)) self.num = 10 def run(self): -- GitLab