Update precisionNS.py
This commit is contained in:
parent
1bd9c5337d
commit
1074e02f36
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue