mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
auth_test: coroutinize test_try_login_after_creating_roles_with_hashed_password
Use co_await instead of return for improved readability.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user