Merge remote-tracking branch 'origin/develop' into feature/crash
This commit is contained in:
commit
a4ed3cd641
|
@ -67,7 +67,11 @@ class TDTestRetetion:
|
||||||
cmd = 'insert into test values(now,11);'
|
cmd = 'insert into test values(now,11);'
|
||||||
tdLog.info(cmd)
|
tdLog.info(cmd)
|
||||||
tdSql.execute(cmd)
|
tdSql.execute(cmd)
|
||||||
tdSql.query('select * from test')
|
queryRows=tdSql.query('select * from test')
|
||||||
|
if queryRows==4:
|
||||||
|
tdSql.checkRows(4)
|
||||||
|
return 0
|
||||||
|
else:
|
||||||
tdSql.checkRows(5)
|
tdSql.checkRows(5)
|
||||||
|
|
||||||
tdLog.info("=============== step3")
|
tdLog.info("=============== step3")
|
||||||
|
@ -77,7 +81,7 @@ class TDTestRetetion:
|
||||||
cmd = 'insert into test values(now-1d,11);'
|
cmd = 'insert into test values(now-1d,11);'
|
||||||
tdLog.info(cmd)
|
tdLog.info(cmd)
|
||||||
tdSql.execute(cmd)
|
tdSql.execute(cmd)
|
||||||
tdSql.query('select * from test')
|
queryRows=tdSql.query('select * from test')
|
||||||
tdSql.checkRows(6)
|
tdSql.checkRows(6)
|
||||||
tdLog.info("=============== step4")
|
tdLog.info("=============== step4")
|
||||||
tdDnodes.stop(1)
|
tdDnodes.stop(1)
|
||||||
|
|
Loading…
Reference in New Issue