diff --git a/src/client/tests/cliTest.cpp b/src/client/tests/cliTest.cpp index 99bd258c04bdb455d35ec5a9154d62e73db15585..89dbf080d0a1c58a261807053f4cbf02cb73803b 100644 --- a/src/client/tests/cliTest.cpp +++ b/src/client/tests/cliTest.cpp @@ -259,12 +259,12 @@ void validateResultFields() { } /* test parse time function */ 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_init(); - const char *config = "{\"tempDir\":\"/root/tmp/\",\"serverPort\":\"3333\"}"; - taos_set_config(config); - taos_set_config(config); validateResultFields(); stmtInsertTest(); }