diff --git a/test/cluster/auth_cluster/test_connection_stage.py b/test/cluster/auth_cluster/test_connection_stage.py index b825e3b6de..095987e217 100644 --- a/test/cluster/auth_cluster/test_connection_stage.py +++ b/test/cluster/auth_cluster/test_connection_stage.py @@ -68,7 +68,7 @@ def make_server_config(auth_type: str) -> dict: @pytest.mark.parametrize("auth_type", [ "allow_all", "password", - pytest.param("cert_bypass", marks=pytest.mark.xfail(reason="bug in process_startup cert-auth path", strict=True)), + "cert_bypass", ]) @pytest.mark.skip_mode("release", reason="error injections are not supported in release mode") async def test_connection_stage_ready_after_auth(manager: ManagerClient, auth_type: str) -> None: diff --git a/transport/server.cc b/transport/server.cc index 76256224d2..5caf2d69c0 100644 --- a/transport/server.cc +++ b/transport/server.cc @@ -1405,6 +1405,10 @@ future> cql_server::connection::process_st client_state.set_login(std::move(*opt_user)); co_await client_state.check_user_can_login(); client_state.maybe_update_per_service_level_params(); + update_scheduling_group(); + _authenticating = false; + _ready = true; + on_connection_ready(); res = make_ready(stream, trace_state); } else { res = make_autheticate(stream, a.qualified_java_name(), trace_state);