From 6e725694f478ce83a8f56e2503921d85c2ee36d4 Mon Sep 17 00:00:00 2001 From: Alex Rosenzweig Date: Wed, 16 Sep 2026 17:26:25 -0500 Subject: [PATCH] Fix relay presence fixtures for mutex auth state Signed-off-by: Alex Rosenzweig --- crates/buzz-relay/src/handlers/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/buzz-relay/src/handlers/event.rs b/crates/buzz-relay/src/handlers/event.rs index c117392c16..3f767c1874 100644 --- a/crates/buzz-relay/src/handlers/event.rs +++ b/crates/buzz-relay/src/handlers/event.rs @@ -1523,7 +1523,7 @@ mod tests { conn_id: Uuid::new_v4(), tenant: tenant.clone(), remote_addr: "127.0.0.1:1234".parse().unwrap(), - auth_state: RwLock::new(crate::connection::AuthState::Authenticated( + auth_state: std::sync::Mutex::new(crate::connection::AuthState::Authenticated( buzz_auth::AuthContext { pubkey: keys.public_key(), scopes: vec![], @@ -1668,7 +1668,7 @@ mod tests { conn_id: Uuid::new_v4(), tenant: tenant.clone(), remote_addr: "127.0.0.1:1234".parse().unwrap(), - auth_state: RwLock::new(crate::connection::AuthState::Authenticated( + auth_state: std::sync::Mutex::new(crate::connection::AuthState::Authenticated( buzz_auth::AuthContext { pubkey: keys.public_key(), scopes: vec![],