From 8616c4c041ab7bde6d0f49cb08d323cb1fb3ffd3 Mon Sep 17 00:00:00 2001 From: happyguoxy Date: Tue, 14 Sep 2021 16:54:41 +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 774a1e5f42..f22cfcd4ec 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