auth_test: coroutinize role_permissions_table_is_protected

Use co_await for improved readability.
This commit is contained in:
Avi Kivity
2026-04-05 17:30:09 +03:00
parent 13eccf519f
commit 170c71b25d

View File

@@ -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());
}