From dfef8abd4ecabdf8a51f20aed59e2f20fe965d89 Mon Sep 17 00:00:00 2001 From: happyguoxy Date: Tue, 14 Sep 2021 14:27:20 +0800 Subject: [PATCH] [TD-6635]:modify python file about ts = 1600000** --- tests/pytest/query/nestquery_last_row.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/pytest/query/nestquery_last_row.py b/tests/pytest/query/nestquery_last_row.py index 3c4ada5174..36431b4e0b 100644 --- a/tests/pytest/query/nestquery_last_row.py +++ b/tests/pytest/query/nestquery_last_row.py @@ -17,6 +17,8 @@ from util.log import tdLog from util.cases import tdCases from util.sql import tdSql import random +import time +import os class TDTestCase: @@ -24,7 +26,9 @@ class TDTestCase: tdLog.debug("start to execute %s" % __file__) tdSql.init(conn.cursor(), logSql) - self.ts = 1600000000000 + os.system("rm -rf query/nestquery_last_row.py.sql") + now = time.time() + self.ts = int(round(now * 1000)) self.num = 10 def run(self): -- GitLab