test:add stream test cases
This commit is contained in:
parent
d16e8ee2a7
commit
07a11a4ea5
|
@ -84,6 +84,7 @@ class TDTestCase:
|
||||||
|
|
||||||
def restart_stream(self):
|
def restart_stream(self):
|
||||||
tdLog.debug("========restart stream========")
|
tdLog.debug("========restart stream========")
|
||||||
|
time.sleep(10)
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
tdSql.execute("pause stream s1")
|
tdSql.execute("pause stream s1")
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
@ -136,4 +137,4 @@ class TDTestCase:
|
||||||
tdSql.close()
|
tdSql.close()
|
||||||
tdLog.success(f"{__file__} successfully executed")
|
tdLog.success(f"{__file__} successfully executed")
|
||||||
tdCases.addLinux(__file__, TDTestCase())
|
tdCases.addLinux(__file__, TDTestCase())
|
||||||
tdCases.addWindows(__file__, TDTestCase())
|
tdCases.addWindows(__file__, TDTestCase())
|
||||||
|
|
Loading…
Reference in New Issue