Repository navigation
Commit 857aa33
committed
test(codex): keep the post-record event inside the burst window
The resumed spawned-child test pins that a token_usage_record never
starts a replay skip. Its post-record token_count sat 1.86s after the
record, outside the 1s rewritten-burst window. A broken rule that
started a burst skip at the record would therefore still count that
event, and the test would pass.
Move the event to 800ms after the record, so it falls inside that
window. Checked against two deliberately broken parsers: one starting a
burst skip at the record and one skipping all usage before the first
record. The test now fails under both; with the original timestamp it
passed under the first.
Reported by Pullfrog on #2051.1 parent 5b94131 commit 857aa33
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2366 | 2366 | | |
2367 | 2367 | | |
2368 | 2368 | | |
2369 | | - | |
| 2369 | + | |
2370 | 2370 | | |
2371 | 2371 | | |
2372 | 2372 | | |
| |||
0 commit comments