Title: [233555] trunk/LayoutTests
Revision
233555
Author
[email protected]
Date
2018-07-05 18:35:31 -0700 (Thu, 05 Jul 2018)

Log Message

[mac-wk1] Layout Test editing/selection/navigation-clears-editor-state.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=187309

Reviewed by Mark Lam.

Try to make this test less flaky by making percents threshold of freed
objects smaller.

* editing/selection/navigation-clears-editor-state-expected.txt:
* editing/selection/navigation-clears-editor-state.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (233554 => 233555)


--- trunk/LayoutTests/ChangeLog	2018-07-06 00:43:20 UTC (rev 233554)
+++ trunk/LayoutTests/ChangeLog	2018-07-06 01:35:31 UTC (rev 233555)
@@ -1,3 +1,16 @@
+2018-07-05  Saam Barati  <[email protected]>
+
+        [mac-wk1] Layout Test editing/selection/navigation-clears-editor-state.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=187309
+
+        Reviewed by Mark Lam.
+
+        Try to make this test less flaky by making percents threshold of freed
+        objects smaller.
+
+        * editing/selection/navigation-clears-editor-state-expected.txt:
+        * editing/selection/navigation-clears-editor-state.html:
+
 2018-07-05  Youenn Fablet  <[email protected]>
 
         Layout Test http/tests/workers/service/basic-messageport.html is flaky

Modified: trunk/LayoutTests/editing/selection/navigation-clears-editor-state-expected.txt (233554 => 233555)


--- trunk/LayoutTests/editing/selection/navigation-clears-editor-state-expected.txt	2018-07-06 00:43:20 UTC (rev 233554)
+++ trunk/LayoutTests/editing/selection/navigation-clears-editor-state-expected.txt	2018-07-06 01:35:31 UTC (rev 233555)
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS freed more than 60 documents
+PASS freed more than 15% of documents
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/editing/selection/navigation-clears-editor-state.html (233554 => 233555)


--- trunk/LayoutTests/editing/selection/navigation-clears-editor-state.html	2018-07-06 00:43:20 UTC (rev 233554)
+++ trunk/LayoutTests/editing/selection/navigation-clears-editor-state.html	2018-07-06 01:35:31 UTC (rev 233555)
@@ -59,10 +59,10 @@
             GCController.collect();
             let after = internals.numberOfLiveDocuments();
             let delta = before - after;
-            if (delta > 0.3 * count)
-                debug("PASS freed more than 60 documents");
+            if (delta > 0.15 * count)
+                debug("PASS freed more than 15% of documents");
             else
-                debug("FAIL freed fewer than 60 documents");
+                debug("FAIL freed less than 15% of documents");
             finishJSTest();                
         };
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to