[test: add sleep for elect leader]
This commit is contained in:
parent
60c9ec38ac
commit
09efd78176
|
@ -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)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
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)")
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue