test: add win32 tmq case test

This commit is contained in:
afwerar 2022-06-11 17:56:40 +08:00
parent 02f908a9a2
commit 6f72236ee3
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import time
from time import sleep
from util.log import *
@ -16,7 +17,7 @@ class TDTestCase:
self.ts = 1640966400000 # 2022-1-1 00:00:00.000
def check_customize_param_ms(self):
time_zone = os.popen('date "+%z"').read().strip()
time_zone = time.strftime('%z')
tdSql.execute('create database db1 precision "ms"')
tdSql.execute('use db1')
tdSql.execute('create table if not exists ntb(ts timestamp, c1 int, c2 timestamp)')