| Summary: | Tests should each use a unique ResourceLoadStatistics file path for its database store | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kate Cheney <katherine_cheney> | ||||||
| Component: | WebKit Misc. | Assignee: | Kate Cheney <katherine_cheney> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | beidson, commit-queue, Lawrence.j, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Kate Cheney
2020-02-25 09:40:29 PST
Created attachment 391672 [details]
Patch
Comment on attachment 391672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391672&action=review > Source/WebKit/ChangeLog:13 > + WebKitTestRunner. This was causing crashes and concurrency issues in tests > + when multiple database stores at the same path are accessed > + simultaneously. I'll leave it to someone who knows this code to review the patch, but this is exciting! > Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:180 > - // FIXME(193297): This should be revised after the UIProcess version goes away. > - m_statisticsStore->didCreateNetworkProcess(); > - }); > + // FIXME(193297): This should be revised after the UIProcess version goes away. Bug 193297 is marked as fixed, it would be helpful to update this comment with what needs to be done. Not required for this patch, but you touched the line. (also, API tests failed) Created attachment 391708 [details]
Patch
(In reply to Alexey Proskuryakov from comment #4) > (also, API tests failed) This patch should fix it. (In reply to Alexey Proskuryakov from comment #3) > Comment on attachment 391672 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=391672&action=review > > > Source/WebKit/ChangeLog:13 > > + WebKitTestRunner. This was causing crashes and concurrency issues in tests > > + when multiple database stores at the same path are accessed > > + simultaneously. > > I'll leave it to someone who knows this code to review the patch, but this > is exciting! I know! I think this will solve many of the DB flaky test issues. Comment on attachment 391708 [details] Patch Clearing flags on attachment: 391708 Committed r257519: <https://trac.webkit.org/changeset/257519> All reviewed patches have been landed. Closing bug. *** Bug 207938 has been marked as a duplicate of this bug. *** |