DescriptionQuick 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
Committed: https://crrev.com/0ef3f039c5d5101cc950a88244d244ac7c4a574e
Cr-Commit-Position: refs/heads/master@{#295938}
Patch Set 1 #Patch Set 2 : patch #
Total comments: 1
Messages
Total messages: 14 (5 generated)
|