Retain route test startup observer until acknowledgement
android-ci / android-arm64 (push) Failing after 12m34s

This commit is contained in:
bit9992 committed 2026-11-14 13:42:52 +03:00
1 parent 2565e5526a
commit 61f748ce34
1 file changed
+1 -1
+1 -1
View File
@@ -213,7 +213,7 @@ fn route_capture_barrier(owner:&mut Owner)->(std::sync::mpsc::Receiver<()>,std::
async fn audit_lifecycle_route_ack_replaces_revoked_capture_once_and_reverses() {
let(_directory,mut owner,_events,_controls)=fixture().await;
let key=route_capture_fixture(&owner).await;let ctx=owner.ctx.clone();
let(_,release)=route_capture_barrier(&mut owner);release.send(()).unwrap();ctx.refresh_capture().await.unwrap();
let(_initial_entered,release)=route_capture_barrier(&mut owner);release.send(()).unwrap();ctx.refresh_capture().await.unwrap();
for route in ["headset acknowledged","phone return acknowledged"] {
let old=ctx.connected.connections.current_capture_permit().unwrap();
assert!(controller::suspend_route_immediate(&ctx,&key,true).is_none());