RESOLVED FIXED 170547
Implement testing mode for disk cache
https://bugs.webkit.org/show_bug.cgi?id=170547
Summary Implement testing mode for disk cache
Antti Koivisto
Reported 2017-04-06 07:04:23 PDT
Try to eliminate sources of randomness to make cache tests non-flaky.
Attachments
patch (7.35 KB, patch)
2017-04-06 07:16 PDT, Antti Koivisto
no flags
patch (8.85 KB, patch)
2017-04-06 07:20 PDT, Antti Koivisto
no flags
patch (11.99 KB, patch)
2017-04-06 07:37 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2017-04-06 07:16:19 PDT
Antti Koivisto
Comment 2 2017-04-06 07:20:08 PDT
Antti Koivisto
Comment 3 2017-04-06 07:37:20 PDT
WebKit Commit Bot
Comment 4 2017-04-06 11:32:50 PDT
Comment on attachment 306384 [details] patch Clearing flags on attachment: 306384 Committed r215044: <http://trac.webkit.org/changeset/215044>
WebKit Commit Bot
Comment 5 2017-04-06 11:32:52 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 6 2017-04-06 12:42:54 PDT
Nice!
Ryan Haddad
Comment 7 2017-04-06 14:30:03 PDT
It looks like this caused ios-simulator debug tests to exit early due to assertion failures: ASSERTION FAILED: Enumerator is not a positive power of two. hasOneBitSet(static_cast<StorageType>(t)) /Volumes/Data/slave/ios-simulator-10-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/OptionSet.h(85) : WTF::OptionSet<WebKit::NetworkCache::Cache::Option>::OptionSet(T) [T = WebKit::NetworkCache::Cache::Option] https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20(Tests)/r215053%20(431)/results.html
Ryan Haddad
Comment 8 2017-04-06 14:30:50 PDT
Ryan Haddad
Comment 9 2017-04-06 14:43:07 PDT
I think Anders may have fixed the issue in https://trac.webkit.org/changeset/215060/webkit
David Kilzer (:ddkilzer)
Comment 10 2017-04-21 09:44:31 PDT
(In reply to Ryan Haddad from comment #9) > I think Anders may have fixed the issue in > https://trac.webkit.org/changeset/215060/webkit Bug 170565: OptionSet options need to be powers of two <https://bugs.webkit.org/show_bug.cgi?id=170565>
Note You need to log in before you can comment on or make changes to this bug.