diff --git a/tests/army/storage/s3/s3Basic.json b/tests/army/storage/s3/s3Basic.json index c3fcdb567c..ee341b2096 100644 --- a/tests/army/storage/s3/s3Basic.json +++ b/tests/army/storage/s3/s3Basic.json @@ -50,8 +50,8 @@ { "type": "usmallint", "name": "usi"}, { "type": "uint", "name": "ui" }, { "type": "ubigint", "name": "ubi"}, - { "type": "binary", "name": "bin", "len": 32}, - { "type": "nchar", "name": "nch", "len": 64} + { "type": "binary", "name": "bin", "len": 50}, + { "type": "nchar", "name": "nch", "len": 100} ], "tags": [ {"type": "tinyint", "name": "groupid","max": 10,"min": 1}, diff --git a/tests/army/storage/s3/s3Basic.py b/tests/army/storage/s3/s3Basic.py index 466cc5ab19..c86c8b0b8e 100644 --- a/tests/army/storage/s3/s3Basic.py +++ b/tests/army/storage/s3/s3Basic.py @@ -172,7 +172,7 @@ class TDTestCase(TBase): if compact is not None: kw3 = f"s3_compact {compact}" - sql = f" create database db1 duration 1h {kw1} {kw2} {kw3}" + sql = f" create database db1 vgroups 1 duration 1h {kw1} {kw2} {kw3}" tdSql.execute(sql, show=True) #sql = f"select name,s3_keeplocal,s3_chunksize,s3_compact from information_schema.ins_databases where name='db1';" sql = f"select * from information_schema.ins_databases where name='db1';" @@ -327,8 +327,6 @@ class TDTestCase(TBase): # check insert correct again self.checkInsertCorrect() - # checkBasic - self.checkBasic() # check stream correct and drop stream #self.checkStreamCorrect() @@ -338,6 +336,10 @@ class TDTestCase(TBase): # insert history disorder data self.insertHistory() + + # checkBasic + self.checkBasic() + #self.checkInsertCorrect() self.snapshotAgg() self.doAction() diff --git a/tests/army/storage/s3/s3Basic1.json b/tests/army/storage/s3/s3Basic1.json index 0618c341c9..02be308443 100644 --- a/tests/army/storage/s3/s3Basic1.json +++ b/tests/army/storage/s3/s3Basic1.json @@ -50,8 +50,8 @@ { "type": "usmallint", "name": "usi"}, { "type": "uint", "name": "ui" }, { "type": "ubigint", "name": "ubi"}, - { "type": "binary", "name": "bin", "len": 32}, - { "type": "nchar", "name": "nch", "len": 64} + { "type": "binary", "name": "bin", "len": 50}, + { "type": "nchar", "name": "nch", "len": 100} ], "tags": [ {"type": "tinyint", "name": "groupid","max": 10,"min": 1},