From 28f2e5d2e7cbff397c9966c197ee76081ddf31fe Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 31 Oct 2026 04:49:29 +0100 Subject: [PATCH] connector-usage-only: test import Co-Authored-By: Claude Opus 5.5 --- crates/model-connector/src/service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/model-connector/src/service.rs b/crates/model-connector/src/service.rs index 05e5da9..c17802d 100644 --- a/crates/model-connector/src/service.rs +++ b/crates/model-connector/src/service.rs @@ -2171,7 +2171,7 @@ mod tests { service.begin_unplanned(&raw_envelope(&invocation), 1_000, FRAME), Err(ServiceError::ReplayStore(_)) )); - allowance.store(10, Ordering::SeqCst); + allowance.store(10, std::sync::atomic::Ordering::SeqCst); assert!(matches!( service.begin_unplanned(&raw_envelope(&invocation), 1_000, FRAME), Ok(TransportAdmission::Execute(_)) @@ -2193,7 +2193,7 @@ mod tests { )); // The slot is free (one concurrent request is admitted), and the retry // of the unfinished id is told it is indeterminate, not in flight. - allowance.store(10, Ordering::SeqCst); + allowance.store(10, std::sync::atomic::Ordering::SeqCst); let again = service .begin_unplanned(&raw_envelope(&invocation), 1_000, FRAME) .unwrap();