Repository navigation
Commit 5212d64
committed
test(interaction-harness): two page-freeze cases wait for the frame
Two page-freeze self-test cases assumed that a fixed wait covered the
frame that starts a run. A busy machine can draw no frame for longer
than the wait, and both cases failed once that way in a full Chromium
run. The run that finishes before the freeze had not started when the
freeze landed, so it was dated after the freeze (487 ms). The ten-cycle
case read the run's start time before any frame, got null, and so
measured a drift of the run's whole start (1224 ms).
The first case now waits for the run's own end before it freezes, and
the second reads the start time once the run is ready.1 parent 1800b47 commit 5212d64
1 file changed
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4794 | 4794 | | |
4795 | 4795 | | |
4796 | 4796 | | |
4797 | | - | |
4798 | | - | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
4799 | 4802 | | |
4800 | 4803 | | |
4801 | | - | |
| 4804 | + | |
4802 | 4805 | | |
4803 | | - | |
4804 | | - | |
4805 | 4806 | | |
4806 | 4807 | | |
4807 | 4808 | | |
| |||
4825 | 4826 | | |
4826 | 4827 | | |
4827 | 4828 | | |
4828 | | - | |
4829 | | - | |
4830 | | - | |
4831 | | - | |
4832 | | - | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
4833 | 4836 | | |
4834 | 4837 | | |
4835 | 4838 | | |
| |||
0 commit comments