feat/TS-5927-long-password-fix-cases
This commit is contained in:
parent
36caaf7aab
commit
48123446d6
|
@ -833,7 +833,7 @@ TEST_F(ParserInitialATest, alterUser) {
|
||||||
ASSERT_EQ(req.sysInfo, expect.sysInfo);
|
ASSERT_EQ(req.sysInfo, expect.sysInfo);
|
||||||
ASSERT_EQ(req.enable, expect.enable);
|
ASSERT_EQ(req.enable, expect.enable);
|
||||||
ASSERT_EQ(std::string(req.user), std::string(expect.user));
|
ASSERT_EQ(std::string(req.user), std::string(expect.user));
|
||||||
ASSERT_EQ(std::string(req.pass), std::string(expect.pass));
|
ASSERT_EQ(std::string(req.longPass), std::string(expect.pass));
|
||||||
ASSERT_EQ(std::string(req.objname), std::string(expect.objname));
|
ASSERT_EQ(std::string(req.objname), std::string(expect.objname));
|
||||||
tFreeSAlterUserReq(&req);
|
tFreeSAlterUserReq(&req);
|
||||||
});
|
});
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ TEST_F(ParserInitialCTest, createUser) {
|
||||||
ASSERT_EQ(req.sysInfo, expect.sysInfo);
|
ASSERT_EQ(req.sysInfo, expect.sysInfo);
|
||||||
ASSERT_EQ(req.enable, expect.enable);
|
ASSERT_EQ(req.enable, expect.enable);
|
||||||
ASSERT_EQ(std::string(req.user), std::string(expect.user));
|
ASSERT_EQ(std::string(req.user), std::string(expect.user));
|
||||||
ASSERT_EQ(std::string(req.pass), std::string(expect.pass));
|
ASSERT_EQ(std::string(req.longPass), std::string(expect.pass));
|
||||||
tFreeSCreateUserReq(&req);
|
tFreeSCreateUserReq(&req);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ if $rows != 3 then
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql show variables;
|
sql show variables;
|
||||||
if $rows != 88 then
|
if $rows != 89 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue