fix: ci errors

This commit is contained in:
Shengliang Guan 2024-12-11 21:48:20 +08:00
parent ebcf538c05
commit 72e2959b10
1 changed files with 3 additions and 3 deletions

View File

@ -267,7 +267,7 @@ void createUsers(TAOS *taos, const char *host, char *qstr) {
}
// alter pass for users
sprintf(qstr, "alter user %s pass 'taos'", users[i]);
sprintf(qstr, "alter user %s pass 'taos@123'", users[i]);
queryDB(taos, qstr);
}
}
@ -302,7 +302,7 @@ void passVerTestMulti(const char *host, char *qstr) {
queryDB(taos[0], "create table if not exists demo2.stb (ts timestamp, c1 int) tags(t1 int)");
queryDB(taos[0], "create table if not exists demo3.stb (ts timestamp, c1 int) tags(t1 int)");
strcpy(qstr, "alter user root pass 'taos'");
strcpy(qstr, "alter user root pass 'taos@123'");
queryDB(taos[0], qstr);
// calculate the nPassVerNotified for root and users
@ -476,7 +476,7 @@ _loop:
nUserDropped = 0;
for (int i = 0; i < nTestUsers; ++i) {
sprintf(users[i], "user%d", i);
sprintf(qstr, "CREATE USER %s PASS 'taos'", users[i]);
sprintf(qstr, "CREATE USER %s PASS 'taos@123'", users[i]);
fprintf(stderr, "%s:%d create user:%s\n", __func__, __LINE__, users[i]);
queryDB(taos, qstr);
}