提交 8aef0e51 编写于 作者: wmmhello's avatar wmmhello

[TD-5992] add test case

上级 65b358d4
...@@ -259,12 +259,12 @@ void validateResultFields() { ...@@ -259,12 +259,12 @@ void validateResultFields() {
} }
/* test parse time function */ /* test parse time function */
TEST(testCase, result_field_test) { TEST(testCase, result_field_test) {
const char *config = "{\"debugFlag\":\"135\"}";
taos_set_config(config);
taos_set_config(config);
taos_options(TSDB_OPTION_CONFIGDIR, "~/first/cfg"); taos_options(TSDB_OPTION_CONFIGDIR, "~/first/cfg");
taos_init(); taos_init();
const char *config = "{\"tempDir\":\"/root/tmp/\",\"serverPort\":\"3333\"}";
taos_set_config(config);
taos_set_config(config);
validateResultFields(); validateResultFields();
stmtInsertTest(); stmtInsertTest();
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册