mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-19 16:15:07 +00:00
auth_test: coroutinize role_permissions_table_is_protected
Use co_await for improved readability.
This commit is contained in:
@@ -170,7 +170,7 @@ SEASTAR_TEST_CASE(role_members_table_is_protected) {
|
||||
}
|
||||
|
||||
SEASTAR_TEST_CASE(role_permissions_table_is_protected) {
|
||||
return do_with_cql_env_thread([] (cql_test_env& env) {
|
||||
co_await do_with_cql_env_thread([] (cql_test_env& env) {
|
||||
require_table_protected(env, "system.role_permissions");
|
||||
}, auth_on());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user