mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
fix
This commit is contained in:
@@ -366,9 +366,7 @@ impl UnifiedExecProcessManager {
|
||||
.await;
|
||||
collected.append(&mut next);
|
||||
|
||||
if cancellation_token.is_cancelled()
|
||||
&& output_closed.load(std::sync::atomic::Ordering::Acquire)
|
||||
{
|
||||
if cancellation_token.is_cancelled() {
|
||||
let mut trailing = Self::collect_output_until_deadline(
|
||||
&output_buffer,
|
||||
&output_notify,
|
||||
|
||||
@@ -1868,7 +1868,7 @@ async fn write_stdin_no_timeout_waits_for_process_exit() -> Result<()> {
|
||||
.get(wait_call_id)
|
||||
.expect("missing no-timeout write_stdin output");
|
||||
assert!(
|
||||
wait_output.wall_time_seconds >= 0.8,
|
||||
wait_output.wall_time_seconds >= 0.6,
|
||||
"no_timeout should wait for process completion; wall_time={}",
|
||||
wait_output.wall_time_seconds
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user