cambyzju opened a new pull request, #14271:
URL: https://github.com/apache/doris/pull/14271
# Proposed changes
Issue Number: close #xxx
## Problem summary
if `test_role` regression case run at the same time with `test_alter_user`
regression case, we may got following error.
Because in `test_alter_user` regression we `set global
validate_password_policy=STRONG`.
```
2022-11-14 20:58:53.385 INFO [suite-thread-1] (Suite.groovy:193) - Execute
sql: GRANT SELECT_PRIV ON account_role_test_db TO ROLE 'account_role_test'
2022-11-14 20:58:53.388 INFO [suite-thread-1] (Suite.groovy:193) - Execute
sql: CREATE USER 'acount_role_user_test' IDENTIFIED BY '123456' DEFAULT ROLE
'account_role_test'
2022-11-14 20:58:53.390 ERROR [suite-thread-1] (ScriptContext.groovy:123) -
Run test_role in
/home/work/pipline/OpenSourceDoris/clusterRegressionCenter/P0/Cluster0/regression-test/suites/account_p0/test_role.groovy
failed
java.sql.SQLException: errCode = 2, detailMessage = Violate password
validation policy: STRONG. The password must be at least 8 characters
at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at
com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at
com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:371)
```
## Checklist(Required)
1. Does it affect the original behavior:
- [ ] Yes
- [ ] No
- [ ] I don't know
2. Has unit tests been added:
- [ ] Yes
- [ ] No
- [ ] No Need
3. Has document been added or modified:
- [ ] Yes
- [ ] No
- [ ] No Need
4. Does it need to update dependencies:
- [ ] Yes
- [ ] No
5. Are there any changes that cannot be rolled back:
- [ ] Yes (If Yes, please explain WHY)
- [ ] No
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]