update timezone.py

This commit is contained in:
jiacy-jcy 2022-04-20 10:06:03 +08:00
parent f6c3c5d4f1
commit e14570f66f
1 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,11 @@ class TDTestCase:
tdSql.query("select * from normaltb where ts=today()")
tdSql.checkRows(1)
tdSql.checkData(0,1,3)
# for i in range(0,50):
# tdSql.query("select timezone() from db.normaltb")
# tdSql.checkData(0,0,"Asia/Shanghai (CST, +0800)")
# i+=1
# sleep(0.5)
for i in range(0,50):
tdSql.query("select timezone() from db.normaltb")
tdSql.checkData(0,0,"Asia/Shanghai (CST, +0800)")
i+=1
sleep(0.5)
tdSql.query("select now() from db.normaltb")