Commit 7f30f19
test(playback): make GetCurrentTimeProgression robust to CI timing
CurrentTime is the wall-clock playback position, so grabbing buffered frames
faster/slower than real-time (common on shared CI runners) makes (time2 - time1)
deviate from 5/frameRate in both directions. The previous symmetric +/-50%
EXPECT_NEAR failed (near-)consistently on the windows-2022 runner while passing
on windows-2025. Keep the forward-progress assertion (EXPECT_GT) and replace the
brittle tolerance with a generous upper bound; deterministic progression is
already covered by GetCurrentFrameIndexProgression.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d21f8d5 commit 7f30f19
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
721 | | - | |
722 | | - | |
723 | | - | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
724 | 729 | | |
725 | 730 | | |
726 | 731 | | |
| |||
0 commit comments