From 24d36ad45950b71266a5274ba2a8fdb42eb9999c Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 5 Apr 2026 17:32:18 +0300 Subject: [PATCH] auth_test: coroutinize test_create_roles_with_hashed_password_and_log_in 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 637eb853f2..029206680e 100644 --- a/test/boost/auth_test.cc +++ b/test/boost/auth_test.cc @@ -356,7 +356,7 @@ SEASTAR_TEST_CASE(test_create_roles_with_hashed_password_and_log_in) { // This test ensures that Scylla allows for creating roles with hashed passwords // following the format of one of the supported algorithms, as well as logging in // as that role is performed successfully. - return do_with_cql_env_thread([] (cql_test_env& env) { + co_await do_with_cql_env_thread([] (cql_test_env& env) { // Pairs of form (password, hashed password). constexpr std::pair passwords[] = { // bcrypt's.