REGRESSION: LayoutTest http/tests/cache/disk-cache/disk-cache-remove-several-pending...
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 01:23:30 +0000 (01:23 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 01:23:30 +0000 (01:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=161650

Reviewed by Alexey Proskuryakov.

Make sure we clear the memory cache before trigerring new loads as this
test is meant to cover the disk cache.

* http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212012 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html
LayoutTests/platform/mac/TestExpectations

index 6923924..ad0c0d9 100644 (file)
@@ -1,3 +1,16 @@
+2017-02-09  Chris Dumez  <cdumez@apple.com>
+
+        REGRESSION: LayoutTest http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=161650
+
+        Reviewed by Alexey Proskuryakov.
+
+        Make sure we clear the memory cache before trigerring new loads as this
+        test is meant to cover the disk cache.
+
+        * http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html:
+        * platform/mac/TestExpectations:
+
 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
 
         Mark inspector/model/remote-object-weak-collection.html as a flaky timeout.
index 8a6c1ac..8633466 100644 (file)
@@ -21,6 +21,7 @@ function fetch(url) {
 }
 
 function fetchResource() {
+  internals.clearMemoryCache();
   return fetch('resources/json.php?id=' + id).then(function (resp) {
     if (resp.body.version === 2) {
       bugReproduced = false;
index 5ffc3c9..122d3bd 100644 (file)
@@ -1445,8 +1445,6 @@ webkit.org/b/116621 fast/replaced/preferred-widths.html [ Pass Failure ]
 
 webkit.org/b/164277 fast/preloader/image-srcset.html [ Pass Failure ]
 
-webkit.org/b/161650 http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html [ Pass Failure ]
-
 webkit.org/b/166038 http/tests/inspector/network/fetch-network-data.html [ Pass Timeout ]
 webkit.org/b/164033 http/tests/inspector/network/xhr-request-data-encoded-correctly.html [ Pass Timeout ]