Quick fix for windows try bots flakiness.
It was a race between animation scheduled by WebTestProxyBase and ResourceLoader which received the test script content. In case of failure I see the next sequence of top level events: 1) RootGraphicsLayer was cleared 2) html resource arrived and animation was scheduled 3) js resource arrived, onload event handler was called and the test finished in the ASSERT The expected sequence of top level events: 1) RootGraphicsLayer was cleared 2) html resource arrived and animation was scheduled 3) scheduled animation was executed 4) js resource arrived, onload event handler was called and the test finished successfully The simplest solution is to run pending animations. BUG=397321 Review URL: https://codereview.chromium.org/581983002 Cr-Commit-Position: refs/heads/master@{#295938}
Showing
Please register or sign in to comment