Merge pull request #24594 from taosdata/test/3.0/TD-27987
test:add special compatibility testcase for code coverage
This commit is contained in:
commit
4fbadfaab5
|
@ -152,7 +152,7 @@ class TDTestCase:
|
|||
os.system(f"rm -rf {cPath}/../data")
|
||||
print(self.projPath)
|
||||
# this data file is special for coverage test in 192.168.1.96
|
||||
os.system("cp -r f{self.projPath}/../comp_testdata/data/ {self.projPath}/sim/dnode1")
|
||||
os.system(f"cp -r {self.projPath}/../comp_testdata/data/ {self.projPath}/community/sim/dnode1")
|
||||
tdDnodes.stop(1)
|
||||
tdDnodes.start(1)
|
||||
|
||||
|
|
|
@ -215,7 +215,10 @@ class ClusterComCreate:
|
|||
return
|
||||
|
||||
def alterStbMetaData(self,tsql,dbName,stbName,ctbNum,rowsPerTbl,batchNum,startTs=None):
|
||||
|
||||
tdLog.debug("alter Stb column ............")
|
||||
tdLog.debug(f"describe {dbName}.{stbName} ")
|
||||
tsql.execute(f"describe {dbName}.{stbName} ;")
|
||||
tdLog.debug(f"ALTER STABLE {dbName}.{stbName} MODIFY COLUMN c3 binary(20);")
|
||||
tsql.execute(f" ALTER STABLE {dbName}.{stbName} MODIFY COLUMN c3 binary(20);")
|
||||
tdLog.debug(f"ALTER STABLE {dbName}.{stbName} ADD COLUMN c4 DOUBLE;")
|
||||
|
|
Loading…
Reference in New Issue