From 4314656867c652d7092d471f9dd5e814c4e0d93f Mon Sep 17 00:00:00 2001 From: xiao-77 Date: Wed, 5 Mar 2025 10:02:05 +0800 Subject: [PATCH] Test(insert): reslove ci errors. --- tests/army/insert/auto_create_insert.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/army/insert/auto_create_insert.py b/tests/army/insert/auto_create_insert.py index efaa421a6c..6d57c4023f 100644 --- a/tests/army/insert/auto_create_insert.py +++ b/tests/army/insert/auto_create_insert.py @@ -140,7 +140,9 @@ class TDTestCase(TBase): def check_duplicate_table_with_err_tag(self): tdLog.info(f"check tag parse error with cache") tdSql.execute("USE test") - tdSql.error("INSERT INTO t_8 USING stb TAGS (8) VALUES ('2024-01-01 00:00:00', 1, 2.0, 'test') t_8 USING stb TAGS (ddd) VALUES ('2024-01-01 00:00:00', 1, 2.0, 'test')", expectErrInfo="syntax error") + tdSql.execute("INSERT INTO t_8 USING stb TAGS (8) VALUES ('2024-01-01 00:00:00', 1, 2.0, 'test') t_8 USING stb TAGS (ddd) VALUES ('2024-01-01 00:00:00', 1, 2.0, 'test')") + tdSql.query("select * from t_8") + tdSql.checkRows(1) def check_table_with_another_stb_name(self): tdLog.info(f"check table with another stb name")