From e1b52cf33701a69330ab3f363914d20f0fa448d2 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 5 Apr 2026 17:32:31 +0300 Subject: [PATCH] auth_test: coroutinize test_try_login_after_creating_roles_with_hashed_password 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 029206680e..331d59bfd4 100644 --- a/test/boost/auth_test.cc +++ b/test/boost/auth_test.cc @@ -387,7 +387,7 @@ SEASTAR_TEST_CASE(test_create_roles_with_hashed_password_and_log_in) { } SEASTAR_TEST_CASE(test_try_login_after_creating_roles_with_hashed_password) { - return do_with_cql_env_thread([] (cql_test_env& env) { + co_await do_with_cql_env_thread([] (cql_test_env& env) { // Note: crypt(5) specifies: // // "Hashed passphrases are always entirely printable ASCII, and do not contain any whitespace