mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
Fix pending input test waiting logic (#11322)
## Summary - remove redundant user message wait that could time out and cause flakiness - rely on the existing turn-complete wait to ensure the follow-up request is observed ## Testing - Not run (not requested)
This commit is contained in:
@@ -125,11 +125,6 @@ async fn injected_user_input_triggers_follow_up_request_with_deltas() {
|
||||
|
||||
let _ = gate_completed_tx.send(());
|
||||
|
||||
let _ = wait_for_event(&codex, |event| {
|
||||
matches!(event, EventMsg::UserMessage(message) if message.message == "second prompt")
|
||||
})
|
||||
.await;
|
||||
|
||||
wait_for_event(&codex, |event| matches!(event, EventMsg::TurnComplete(_))).await;
|
||||
|
||||
let requests = server.requests().await;
|
||||
|
||||
Reference in New Issue
Block a user