Changeset 188698 in webkit


Ignore:
Timestamp:
Aug 20, 2015 1:53:26 PM (9 years ago)
Author:
Chris Dumez
Message:

REGRESSION: http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html is very flaky
https://bugs.webkit.org/show_bug.cgi?id=148205

Unreviewed, give the disk cache a chance to settle down before querying
the resource again. This fixes the flakiness locally. Longer term, I will
try and figure out why the cache is sometimes revalidating if the resource
is requested very quickly after.

  • http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r188696 r188698  
     12015-08-20  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION: http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html is very flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=148205
     5
     6        Unreviewed, give the disk cache a chance to settle down before querying
     7        the resource again. This fixes the flakiness locally. Longer term, I will
     8        try and figure out why the cache is sometimes revalidating if the resource
     9        is requested very quickly after.
     10
     11        * http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html:
     12
    1132015-08-11  Yusuke Suzuki  <utatane.tea@gmail.com>
    214
  • trunk/LayoutTests/http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html

    r182157 r188698  
    1414
    1515runTests(tests, function() {
    16     debug("304 response included an 'Expires' header in the future, so we should not need to revalidate this time.");
    17     runTests(tests);
     16    // Wait for things to settle down in the cache.
     17    setTimeout(function() {
     18        debug("304 response included an 'Expires' header in the future, so we should not need to revalidate this time.");
     19        runTests(tests);
     20    }, 200);
    1821});
    1922
Note: See TracChangeset for help on using the changeset viewer.