Skip to content

Commit

Permalink
Merge pull request #3110 from Polymer/flaky-raf-workaround
Browse files Browse the repository at this point in the history
Patch rAF to setTimeout to reduce flakiness on CI.
  • Loading branch information
Steve Orvell committed Nov 30, 2015
2 parents 06898da + 63782fa commit 203e862
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/unit/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -3648,6 +3648,16 @@ <h4>x-repeat-chunked</h4>

suite('chunked rendering', function() {

// Patch requestAnimationFrame to setTimeout to reduce IE test flakiness on CI
var rAF;
suiteSetup(function() {
rAF = window.requestAnimationFrame;
window.requestAnimationFrame = setTimeout;
});
suiteTeardown(function() {
window.requestAnimationFrame = rAF;
});

test('basic chunked rendering', function(done) {

var checkItemOrder = function(stamped) {
Expand Down

0 comments on commit 203e862

Please sign in to comment.