Skip to content

Commit 90325f4

Browse files
Fix flaky tool_parallelism timestamp assertion
ARM Linux can record tool and completion timestamps in the same millisecond; allow equality to avoid flake.
1 parent a5f839b commit 90325f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎codex-rs/core/tests/suite/tool_parallelism.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ async fn shell_tools_start_before_response_completed_when_stream_delayed() -> an
398398

399399
for timestamp in timestamps {
400400
assert!(
401-
timestamp < completed_at,
402-
"timestamp {timestamp} should be before completed {completed_at}"
401+
timestamp <= completed_at,
402+
"timestamp {timestamp} should be at or before completed {completed_at}"
403403
);
404404
}
405405

0 commit comments

Comments
 (0)