case: fix memory leak with return cause
This commit is contained in:
parent
273e47a1fb
commit
7744a31deb
|
@ -86,30 +86,29 @@ class TDTestCase(TBase):
|
||||||
tdLog.debug(f"start to excute {__file__}")
|
tdLog.debug(f"start to excute {__file__}")
|
||||||
if eos.isArm64Cpu():
|
if eos.isArm64Cpu():
|
||||||
tdLog.success(f"{__file__} arm64 ignore executed")
|
tdLog.success(f"{__file__} arm64 ignore executed")
|
||||||
return
|
else:
|
||||||
|
# insert data
|
||||||
|
self.insertData()
|
||||||
|
|
||||||
# insert data
|
# check insert data correct
|
||||||
self.insertData()
|
self.checkInsertCorrect()
|
||||||
|
|
||||||
# check insert data correct
|
# save
|
||||||
self.checkInsertCorrect()
|
self.snapshotAgg()
|
||||||
|
|
||||||
# save
|
# do action
|
||||||
self.snapshotAgg()
|
self.doAction()
|
||||||
|
|
||||||
# do action
|
# check save agg result correct
|
||||||
self.doAction()
|
self.checkAggCorrect()
|
||||||
|
|
||||||
# check save agg result correct
|
# check insert correct again
|
||||||
self.checkAggCorrect()
|
self.checkInsertCorrect()
|
||||||
|
|
||||||
# check insert correct again
|
# drop database and free s3 file
|
||||||
self.checkInsertCorrect()
|
self.dropDb()
|
||||||
|
|
||||||
# drop database and free s3 file
|
tdLog.success(f"{__file__} successfully executed")
|
||||||
self.dropDb()
|
|
||||||
|
|
||||||
tdLog.success(f"{__file__} successfully executed")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue