From 4b961753a56baf168d1e6cb996f440bd87903dc3 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 12 May 2023 15:13:25 +0800 Subject: [PATCH] test: update the test case. --- tests/script/tsim/alter/table.sim | 6 +++--- utils/test/c/sml_test.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/script/tsim/alter/table.sim b/tests/script/tsim/alter/table.sim index ded5d6f78a..4102365931 100644 --- a/tests/script/tsim/alter/table.sim +++ b/tests/script/tsim/alter/table.sim @@ -659,9 +659,9 @@ endi print =============== error sql create table tb2023(ts timestamp, f int); -sql_error alter table tb2023 add column v varchar(16375); -sql_error alter table tb2023 add column v varchar(16385); -sql_error alter table tb2023 add column v varchar(33100); +sql_error alter table tb2023 add column v varchar(65535); +sql_error alter table tb2023 add column v varchar(65535); +sql_error alter table tb2023 add column v varchar(65530); sql alter table tb2023 add column v varchar(16374); sql desc tb2023 sql alter table tb2023 drop column v diff --git a/utils/test/c/sml_test.c b/utils/test/c/sml_test.c index b22b446ca8..ac5aff4727 100644 --- a/utils/test/c/sml_test.c +++ b/utils/test/c/sml_test.c @@ -989,7 +989,7 @@ int sml_ts2164_Test() { TAOS *taos = taos_connect("localhost", "root", "taosdata", NULL, 0); TAOS_RES *pRes = - taos_query(taos, "CREATE DATABASE IF NOT EXISTS line_test BUFFER 384 MINROWS 1000 PAGES 256 PRECISION 'ns'"); + taos_query(taos, "CREATE DATABASE IF NOT EXISTS line_test MINROWS 1000 PRECISION 'ns'"); taos_free_result(pRes); const char *sql[] = { @@ -1385,8 +1385,8 @@ int main(int argc, char *argv[]) { ASSERT(!ret); ret = sml_ts3116_Test(); ASSERT(!ret); - ret = sml_ts2385_Test(); // this test case need config sml table name using ./sml_test config_file - ASSERT(!ret); +// ret = sml_ts2385_Test(); // this test case need config sml table name using ./sml_test config_file +// ASSERT(!ret); ret = sml_ts3303_Test(); // this test case need config sml table name using ./sml_test config_file ASSERT(!ret); -- GitLab