fix: ci errors

This commit is contained in:
Shengliang Guan 2024-12-11 22:21:00 +08:00
parent 72e2959b10
commit 74c86e5382
1 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ void sysInfoTest(TAOS *taosRoot, const char *host, char *qstr) {
char userName[USER_LEN] = "user0";
for (int i = 0; i < nRoot; ++i) {
taos[i] = taos_connect(host, "user0", "taos", NULL, 0);
taos[i] = taos_connect(host, "user0", "taos@123", NULL, 0);
if (taos[i] == NULL) {
fprintf(stderr, "failed to connect to server, reason:%s\n", "null taos" /*taos_errstr(taos)*/);
exit(1);
@ -427,7 +427,7 @@ _loop:
printf("\n\n%s:%d LOOP %d, nTestUsers:%d\n", __func__, __LINE__, nLoop, nTestUsers);
for (int i = 0; i < nTestUsers; ++i) {
// sprintf(users[i], "user%d", i);
taosu[i] = taos_connect(host, users[i], "taos", NULL, 0);
taosu[i] = taos_connect(host, users[i], "taos@123", NULL, 0);
if (taosu[i] == NULL) {
printf("failed to connect to server, user:%s, reason:%s\n", users[i], "null taos" /*taos_errstr(taos)*/);
exit(1);