diff --git a/test/boost/auth_test.cc b/test/boost/auth_test.cc index 1ffb2cc5ba..6a7c9d7277 100644 --- a/test/boost/auth_test.cc +++ b/test/boost/auth_test.cc @@ -53,11 +53,10 @@ SEASTAR_TEST_CASE(test_default_authenticator) { } SEASTAR_TEST_CASE(test_password_authenticator_attributes) { - return do_with_cql_env([](cql_test_env& env) { + co_await do_with_cql_env_thread([](cql_test_env& env) { auto& a = env.local_auth_service().underlying_authenticator(); BOOST_REQUIRE(a.require_authentication()); BOOST_REQUIRE_EQUAL(a.qualified_java_name(), auth::password_authenticator_name); - return make_ready_future(); }, auth_on(false)); }