提交 09efd781 编写于 作者: P plum-lihui

[test: add sleep for elect leader]

上级 60c9ec38
......@@ -2,7 +2,6 @@ import taos
import sys
import datetime
import inspect
import time
from util.log import *
from util.sql import *
......@@ -20,7 +19,6 @@ class TDTestCase:
tdSql.prepare()
tdLog.printNoPrefix("==========step1:create table")
time.sleep(2)
tdSql.execute(
'''create table stb1
(ts timestamp, c1 int, c2 bigint, c3 smallint, c4 tinyint, c5 float, c6 double, c7 bool, c8 binary(16),c9 nchar(32), c10 timestamp)
......
import taos
import sys
import time
from util.log import *
from util.sql import *
......@@ -16,7 +15,6 @@ class TDTestCase:
def run(self): # sourcery skip: extract-duplicate-method, remove-redundant-fstring
tdSql.prepare()
time.sleep(2)
tdLog.printNoPrefix("==========step1:create table")
tdSql.execute("create stable db.stb1 (ts timestamp, c1 int, c2 int) tags(t0 tinyint, t1 int, t2 int)")
......
import taos
import sys
import time
from util.log import *
from util.sql import *
......@@ -18,7 +17,6 @@ class TDTestCase:
tdSql.prepare()
tdLog.printNoPrefix("==========step1:create table")
time.sleep(2)
tdSql.execute(
'''create table stb1
(ts timestamp, c1 int, c2 bigint, c3 smallint, c4 tinyint, c5 float, c6 double, c7 bool, c8 varchar(16),c9 nchar(32), c10 timestamp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册