databend
databend copied to clipboard
flaky test: 0_stateless/18_rbac/18_0009_set_role.sh
Summary
https://github.com/databendlabs/databend/actions/runs/11424045864/job/31784126673?pr=16644
some addition outputs like:
+Error: APIError: ResponseError with 1063: Permission denied: privilege [Insert] is required on 'default'.'default'.'t20_0015_table2' for user 'testuser1'@'%' with roles [testrole2,public]
After rerun it's ok?
rerun is ok
rerun is ok
Ok. The err is cluster mode. We have a role cache in query node. So if cluster run this test it's better to wait the cache reflush.
If the fail occurs again we can add a sleep in test.