Title: [252217] trunk/LayoutTests
Revision
252217
Author
[email protected]
Date
2019-11-07 16:52:28 -0800 (Thu, 07 Nov 2019)

Log Message

Layout Test http/tests/appcache/remove-cache.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=199124
<rdar://problem/52008712>

Reviewed by Chris Dumez.

The flakiness probably comes from the use of a setTimeout that might kick in while in most runs, it never kicks in.
When the timer kicks in, the test is reloaded, which triggers a new console log line.
The current console lines do not bring more values than what the test checks with appcache events.
Removing console log lines from the expected file will fix the flakiness.

* TestExpectations:
* http/tests/appcache/remove-cache-expected.txt:
* platform/mac/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (252216 => 252217)


--- trunk/LayoutTests/ChangeLog	2019-11-08 00:37:52 UTC (rev 252216)
+++ trunk/LayoutTests/ChangeLog	2019-11-08 00:52:28 UTC (rev 252217)
@@ -1,3 +1,20 @@
+2019-11-07  youenn fablet  <[email protected]>
+
+        Layout Test http/tests/appcache/remove-cache.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=199124
+        <rdar://problem/52008712>
+
+        Reviewed by Chris Dumez.
+
+        The flakiness probably comes from the use of a setTimeout that might kick in while in most runs, it never kicks in.
+        When the timer kicks in, the test is reloaded, which triggers a new console log line.
+        The current console lines do not bring more values than what the test checks with appcache events.
+        Removing console log lines from the expected file will fix the flakiness.
+
+        * TestExpectations:
+        * http/tests/appcache/remove-cache-expected.txt:
+        * platform/mac/TestExpectations:
+
 2019-11-07  Yury Semikhatsky  <[email protected]>
 
         Web Inspector: http/tests/inspector/target/target-events-for-provisional-page.html is flaky when running with other tests

Modified: trunk/LayoutTests/TestExpectations (252216 => 252217)


--- trunk/LayoutTests/TestExpectations	2019-11-08 00:37:52 UTC (rev 252216)
+++ trunk/LayoutTests/TestExpectations	2019-11-08 00:52:28 UTC (rev 252217)
@@ -2105,6 +2105,8 @@
 
 webkit.org/b/158085 http/tests/css/shared-stylesheet-mutation.html [ Pass Failure ]
 
+http/tests/appcache/remove-cache.html [ DumpJSConsoleLogInStdErr ]
+
 # PiP tests are only relevant on macOS Sierra and newer.
 media/click-placeholder-not-pausing.html [ WontFix ]
 media/controls/picture-in-picture.html [ WontFix ]

Modified: trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt (252216 => 252217)


--- trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt	2019-11-08 00:37:52 UTC (rev 252216)
+++ trunk/LayoutTests/http/tests/appcache/remove-cache-expected.txt	2019-11-08 00:52:28 UTC (rev 252217)
@@ -1,10 +1,3 @@
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
-CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
-CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test that a 404 response for manifest results in cache removal.
 
 Frame 1: Manifest is still available, so a new master resource is added to the cache.

Modified: trunk/LayoutTests/platform/mac/TestExpectations (252216 => 252217)


--- trunk/LayoutTests/platform/mac/TestExpectations	2019-11-08 00:37:52 UTC (rev 252216)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2019-11-08 00:52:28 UTC (rev 252217)
@@ -1944,8 +1944,6 @@
 
 webkit.org/b/181837 [ Release ] imported/w3c/web-platform-tests/service-workers/service-worker/ready.https.html [ Pass Failure ]
 
-webkit.org/b/199124 http/tests/appcache/remove-cache.html [ Pass Failure ]
-
 # rdar://55405851 ([ macOS ] Layout tests webgpu/*-triangle-strip.html are flaky failures. (201827))
 webkit.org/b/201827 webgpu/blend-color-triangle-strip.html [ Pass ImageOnlyFailure ]
 webkit.org/b/201827 webgpu/blend-triangle-strip.html [ Pass ImageOnlyFailure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to