From 48123446d6b1d177f8f2e28b664836fc2523d032 Mon Sep 17 00:00:00 2001 From: dmchen Date: Thu, 13 Feb 2025 00:46:08 +0000 Subject: [PATCH] feat/TS-5927-long-password-fix-cases --- source/libs/parser/test/parAlterToBalanceTest.cpp | 2 +- source/libs/parser/test/parInitialCTest.cpp | 2 +- tests/script/tsim/valgrind/checkError1.sim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/libs/parser/test/parAlterToBalanceTest.cpp b/source/libs/parser/test/parAlterToBalanceTest.cpp index 172c729f34..e82c0eeab7 100644 --- a/source/libs/parser/test/parAlterToBalanceTest.cpp +++ b/source/libs/parser/test/parAlterToBalanceTest.cpp @@ -833,7 +833,7 @@ TEST_F(ParserInitialATest, alterUser) { ASSERT_EQ(req.sysInfo, expect.sysInfo); ASSERT_EQ(req.enable, expect.enable); 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)); tFreeSAlterUserReq(&req); }); diff --git a/source/libs/parser/test/parInitialCTest.cpp b/source/libs/parser/test/parInitialCTest.cpp index 2412bf4e78..b4d277f5d5 100644 --- a/source/libs/parser/test/parInitialCTest.cpp +++ b/source/libs/parser/test/parInitialCTest.cpp @@ -1362,7 +1362,7 @@ TEST_F(ParserInitialCTest, createUser) { ASSERT_EQ(req.sysInfo, expect.sysInfo); ASSERT_EQ(req.enable, expect.enable); 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); }); diff --git a/tests/script/tsim/valgrind/checkError1.sim b/tests/script/tsim/valgrind/checkError1.sim index 8ac43ebaf3..b81cf80548 100644 --- a/tests/script/tsim/valgrind/checkError1.sim +++ b/tests/script/tsim/valgrind/checkError1.sim @@ -120,7 +120,7 @@ if $rows != 3 then endi sql show variables; -if $rows != 88 then +if $rows != 89 then return -1 endi