databend icon indicating copy to clipboard operation
databend copied to clipboard

flaky test: 0_stateless/18_rbac/18_0009_set_role.sh

Open youngsofun opened this issue 1 year ago • 3 comments

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]

youngsofun avatar Oct 20 '24 07:10 youngsofun

After rerun it's ok?

TCeason avatar Oct 20 '24 07:10 TCeason

rerun is ok

youngsofun avatar Oct 20 '24 07:10 youngsofun

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.

TCeason avatar Oct 20 '24 07:10 TCeason