Changeset 57177 in webkit


Ignore:
Timestamp:
Apr 6, 2010 4:27:01 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-06 Adam Barth <abarth@webkit.org>

Reviewed by Alexey Proskuryakov.

transitions/transition-end-event-transform.html fails intermittently on Tiger Intel Release bot
https://bugs.webkit.org/show_bug.cgi?id=37145

The timeout on this test is wrong because the helper library assumes
that we're only going to do one transition, but the test actually does
two in sequence. This patch doubles the timeout to account for that.

The design of these tests are quite unfortunate because these timeout
behaviors don't seem like they'd be reliable on slow machines like
Tiger. I'm not 100% convinced that this will fix the flakiness, but it
seems like an improvement.

I'll file a separate bug about DRT leaking state from one test to
another.

  • transitions/transition-end-event-helpers.js:
  • transitions/transition-end-event-set-none.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r57175 r57177  
     12010-04-06  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        transitions/transition-end-event-transform.html fails intermittently on Tiger Intel Release bot
     6        https://bugs.webkit.org/show_bug.cgi?id=37145
     7
     8        The timeout on this test is wrong because the helper library assumes
     9        that we're only going to do one transition, but the test actually does
     10        two in sequence.  This patch doubles the timeout to account for that.
     11
     12        The design of these tests are quite unfortunate because these timeout
     13        behaviors don't seem like they'd be reliable on slow machines like
     14        Tiger.  I'm not 100% convinced that this will fix the flakiness, but it
     15        seems like an improvement.
     16
     17        I'll file a separate bug about DRT leaking state from one test to
     18        another.
     19
     20        * transitions/transition-end-event-helpers.js:
     21        * transitions/transition-end-event-set-none.html:
     22
    1232010-04-06  Krithigassree Sambamurthy  <krithigassree.sambamurthy@nokia.com>
    224
  • trunk/LayoutTests/transitions/transition-end-event-helpers.js

    r53097 r57177  
    135135  }
    136136
    137   function startTest(expected, callback)
     137  function startTest(expected, callback, maxTime)
    138138  {
    139139    if (callback)
    140140      callback();
    141141   
    142     var maxTime = 0;
     142    if (!maxTime)
     143        maxTime = 0;
    143144
    144145    for (var i=0; i < expected.length; ++i) {
  • trunk/LayoutTests/transitions/transition-end-event-set-none.html

    r53097 r57177  
    5252    }
    5353   
    54     runTransitionTest(expectedEndEvents, setupTest);
     54    // We need to pass an explicit maxTime because we use two sequential
     55    // transitions that each take 0.2s.
     56    runTransitionTest(expectedEndEvents, setupTest, 0.5);
    5557   
    5658  </script>
Note: See TracChangeset for help on using the changeset viewer.