test: add win32 tmq case test
This commit is contained in:
parent
02f908a9a2
commit
6f72236ee3
|
@ -1,3 +1,4 @@
|
||||||
|
import time
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from util.log import *
|
from util.log import *
|
||||||
|
@ -16,7 +17,7 @@ class TDTestCase:
|
||||||
self.ts = 1640966400000 # 2022-1-1 00:00:00.000
|
self.ts = 1640966400000 # 2022-1-1 00:00:00.000
|
||||||
def check_customize_param_ms(self):
|
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('create database db1 precision "ms"')
|
||||||
tdSql.execute('use db1')
|
tdSql.execute('use db1')
|
||||||
tdSql.execute('create table if not exists ntb(ts timestamp, c1 int, c2 timestamp)')
|
tdSql.execute('create table if not exists ntb(ts timestamp, c1 int, c2 timestamp)')
|
||||||
|
|
Loading…
Reference in New Issue