fix: ci errors
This commit is contained in:
parent
ebcf538c05
commit
72e2959b10
|
@ -267,7 +267,7 @@ void createUsers(TAOS *taos, const char *host, char *qstr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// alter pass for users
|
// 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);
|
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 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)");
|
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);
|
queryDB(taos[0], qstr);
|
||||||
|
|
||||||
// calculate the nPassVerNotified for root and users
|
// calculate the nPassVerNotified for root and users
|
||||||
|
@ -476,7 +476,7 @@ _loop:
|
||||||
nUserDropped = 0;
|
nUserDropped = 0;
|
||||||
for (int i = 0; i < nTestUsers; ++i) {
|
for (int i = 0; i < nTestUsers; ++i) {
|
||||||
sprintf(users[i], "user%d", 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]);
|
fprintf(stderr, "%s:%d create user:%s\n", __func__, __LINE__, users[i]);
|
||||||
queryDB(taos, qstr);
|
queryDB(taos, qstr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue