mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user