[Webkit-unassigned] [Bug 202852] http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.html is a flaky failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 11 16:42:20 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202852

--- Comment #3 from Katherine_cheney at apple.com ---
(In reply to Alexey Proskuryakov from comment #2)
> > 2. Should the cache be cleared between tests automatically?
> 
> That may have a substantial performance cost (which is worth verifying).
> 
> Another consequence is loss of incidental testing. In other words, if we
> clear all caches, then tests will all be running with 2-3 elements in the
> cache, which is not very useful. I'm not sure what the right balance between
> test stability and incidental testing is in this particular case.

I don't know if this is the best solution, but I can add in a testRunner function that clears the cache. Then this test, and any others uncovered in the future with the same problem, can call the function before they run to ensure the cache is cleared if the test relies on it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191011/52d38f3b/attachment.html>


More information about the webkit-unassigned mailing list