test: add case tag index passed ok1

This commit is contained in:
Alex Duan 2023-02-22 14:38:32 +08:00
parent b4d84f1e5e
commit 2c8b75885a
1 changed files with 3 additions and 2 deletions

View File

@ -190,9 +190,11 @@ class TDTestCase:
# run # run
def run(self): def run(self):
# var
stable = "meters" stable = "meters"
tbname = "d" tbname = "d"
count = 1000 count = 1000
# do
self.create_table(stable, tbname, count) self.create_table(stable, tbname, count)
self.create_tagidx(stable) self.create_tagidx(stable)
self.insert_data(tbname) self.insert_data(tbname)
@ -209,5 +211,4 @@ class TDTestCase:
tdLog.success("%s successfully executed" % __file__) tdLog.success("%s successfully executed" % __file__)
tdCases.addWindows(__file__, TDTestCase()) tdCases.addWindows(__file__, TDTestCase())
tdCases.addLinux(__file__, TDTestCase()) tdCases.addLinux(__file__, TDTestCase())