Skip to content
  • jer.noble@apple.com's avatar
    [Mac] media/video-played-collapse.html is flakey on certain platforms. · 1e0e7703
    jer.noble@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=117034
    
    Reviewed by Beth Dakin.
    
    This test does not wait until a seek completes before issuing a play()
    command during its subtests. This can cause flakiness on some platforms
    where playback will begin from the pre-seek currentTime. Wait for the seek
    to complete before continuing the sub-tests.
    
    Additionally, a 2s watchdog timeout is present to catch stalled tests. This
    timeout is fine for short-duration sub-tests, but longer tests' durations
    approach this 2s timeout period. Make the timeout the test duration + 2s.
    
    * media/video-played-collapse-expected.txt:
    * media/video-played-collapse.html:
    * media/video-played.js:
    (playForMillisecs.callPauseIfTimeIsReached):
    (playForMillisecs):
    * platform/mac-wk2/TestExpectations:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1e0e7703