Skip to content

Commit

Permalink
fix wrong UT
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Sep 7, 2024
1 parent 99e38f6 commit 3adfed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,9 @@ INSERT INTO field_value_test VALUES (
}

func (s *clientTestSuite) TestLongPassword() {
_, err := s.c.Execute("DROP USER IF EXISTS 'test_long_password'@'localhost'")
_, err := s.c.Execute("DROP USER IF EXISTS 'test_long_password'@'%'")
require.NoError(s.T(), err)
_, err = s.c.Execute("CREATE USER 'test_long_password'@'localhost' IDENTIFIED BY '12345678901234567890'")
_, err = s.c.Execute("CREATE USER 'test_long_password'@'%' IDENTIFIED BY '12345678901234567890'")
require.NoError(s.T(), err)

addr := fmt.Sprintf("%s:%s", *test_util.MysqlHost, s.port)
Expand Down

0 comments on commit 3adfed4

Please sign in to comment.