From 22fd5a7a152e19693a9b47151c5886593e49d52f Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sat, 27 Apr 2024 21:57:53 +0800 Subject: [PATCH 1/2] fix: max topic number allow exist create --- tests/system-test/7-tmq/ins_topics_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/system-test/7-tmq/ins_topics_test.py b/tests/system-test/7-tmq/ins_topics_test.py index 8bf0a7e91a..1628e51166 100644 --- a/tests/system-test/7-tmq/ins_topics_test.py +++ b/tests/system-test/7-tmq/ins_topics_test.py @@ -38,6 +38,14 @@ class TDTestCase: tdSql.execute("create topic topic_2 with meta as stable db1.st") tdSql.execute("create topic topic_3 as select * from db1.nt") tdSql.execute("create topic topic_4 as select ts,c3,c5,t2 from db1.st") + for i in range(5, 21): + tdSql.execute(f"create topic topic_{i} as select ts,c3,c5,t2 from db1.st") + + tdSql.error("create topic topic_21 as select * from db1.nt") + tdSql.execute("create topic if not exists topic_1 as database db1") + for i in range(5, 21): + tdSql.execute(f"drop topic topic_{i}") + tdSql.query("select * from information_schema.ins_topics order by topic_name") tdSql.checkRows(4) From e2787bdd4d5ba02c770b1404135d009ae53d2f41 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sun, 28 Apr 2024 18:12:45 +0800 Subject: [PATCH 2/2] fix: wait upload max from 5m to 10m --- tests/army/enterprise/s3/s3Basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/army/enterprise/s3/s3Basic.py b/tests/army/enterprise/s3/s3Basic.py index 8045a3f308..9634b8edb0 100644 --- a/tests/army/enterprise/s3/s3Basic.py +++ b/tests/army/enterprise/s3/s3Basic.py @@ -103,7 +103,7 @@ class TDTestCase(TBase): loop = 0 rets = [] overCnt = 0 - while loop < 100: + while loop < 200: time.sleep(3) # check upload to s3