Avoid the shutdown timeout in the lagged-event test (#47696)

Drop the unused command receiver immediately in
`next_event_surfaces_lagged_markers`. Keeping it alive lets `shutdown()`
enqueue a command that nobody handles, causing it to wait for the response
timeout before completing.

GitOrigin-RevId: ce9e13b6f097d4545517ed465c1d3e2343c3d4da
This commit is contained in:
jgershen-oai
2026-09-23 23:43:36 +00:00
committed by copyberry
parent 17cd2834e3
commit 8215b81920
+1 -1
View File
@@ -2016,7 +2016,7 @@ mod tests {
#[tokio::test]
async fn next_event_surfaces_lagged_markers() {
let (command_tx, _command_rx) = mpsc::channel(1);
let (command_tx, _) = mpsc::channel(1);
let (event_tx, event_rx) = mpsc::unbounded_channel();
let worker_handle = tokio::spawn(async {});
event_tx