From 4eeb5ef54d30d3f4944126b38788b7f9caa67161 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 5 Apr 2026 17:31:02 +0300 Subject: [PATCH] auth_test: coroutinize test_alter_with_timeouts Use co_await instead of return for improved readability. --- test/boost/auth_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/boost/auth_test.cc b/test/boost/auth_test.cc index 4040e39606..4e12ad2171 100644 --- a/test/boost/auth_test.cc +++ b/test/boost/auth_test.cc @@ -176,7 +176,7 @@ SEASTAR_TEST_CASE(role_permissions_table_is_protected) { } SEASTAR_TEST_CASE(test_alter_with_timeouts) { - return do_with_cql_env_thread([] (cql_test_env& e) { + co_await do_with_cql_env_thread([] (cql_test_env& e) { cquery_nofail(e, "CREATE ROLE user1 WITH PASSWORD = 'pass' AND LOGIN = true"); cquery_nofail(e, "CREATE ROLE user2 WITH PASSWORD = 'pass' AND LOGIN = true"); cquery_nofail(e, "CREATE ROLE user3 WITH PASSWORD = 'pass' AND LOGIN = true");