From 40841dd6666b6baabf8e09e241cca82db1720b25 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Wed, 22 Feb 2023 11:04:57 +0800 Subject: [PATCH] test: modify tag range --- tests/system-test/0-others/tag_index_basic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/system-test/0-others/tag_index_basic.py b/tests/system-test/0-others/tag_index_basic.py index 2d2f7a231b..015ecc5c11 100644 --- a/tests/system-test/0-others/tag_index_basic.py +++ b/tests/system-test/0-others/tag_index_basic.py @@ -81,7 +81,8 @@ class TDTestCase: # create child table for i in range(count): - tags = f'{i},{i},{i},{i},{i},{i},{i},{i},{i}.000{i},{i}.000{i},true,"var{i}","nch{i}",now' + ti = i % 128 + tags = f'{ti},{ti},{i},{i},{ti},{ti},{i},{i},{i}.000{i},{i}.000{i},true,"var{i}","nch{i}",now' sql = f'create table {tbname}{i} using {stbname} tags({tags})' tdSql.execute(sql)