Update precisionNS.py

This commit is contained in:
haoranchen 2023-08-16 13:47:05 +08:00 committed by GitHub
parent 1bd9c5337d
commit 1074e02f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -224,13 +224,13 @@ class TDTestCase:
sql = f"select timediff(ts - {val}b, ts1) from st " sql = f"select timediff(ts - {val}b, ts1) from st "
self.checkExpect(sql, val) self.checkExpect(sql, val)
# # init # init
# def init(self, conn, logSql, replicaVar=1): def init(self, conn, logSql, replicaVar=1):
# seed = time.clock_gettime(time.CLOCK_REALTIME) seed = time.time() % 10000
# random.seed(seed) random.seed(seed)
# self.replicaVar = int(replicaVar) self.replicaVar = int(replicaVar)
# tdLog.debug(f"start to excute {__file__}") tdLog.debug(f"start to excute {__file__}")
# tdSql.init(conn.cursor(), True) tdSql.init(conn.cursor(), True)
# where # where
def checkWhere(self): def checkWhere(self):