Bug 75708
Summary: | Concurrent instances of DRT on Windows can stomp on each other's databases etc. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, eric, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, PlatformOnly |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Bug Depends on: | 116729 | ||
Bug Blocks: | 38756 |
Adam Roben (:aroben)
http://trac.webkit.org/changeset/57328 (bug 36899) changed DumpRenderTree to use a DUMPRENDERTREE_TEMP environment variable for storing databases, etc., so that concurrent instances of DRT won't stomp on each other. But this support was never added to Windows. We need to support this on Windows if we want to run multiple copies of DRT in parallel.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/10654679>
Brent Fulgham
It looks like WebKit on Windows uses either CSIDL_LOCAL_APPDATA or CSIDL_APPDATA (depending on context) to store database and URL cache information.
Brent Fulgham
See Bug 116729 for an implementation that uses CFPreferences to store the current application's desired storage paths. This is the technique being used in the OS X port, which seems to work properly in a concurrent run environment.
Brent Fulgham
For now, we will use new-run-webkit-tests hard-coding it to use a single worker. This will ensure we don't have any problems running concurrently.
As a second step we will loosen this restriction once we've determined that the changes on Bug 116729 resolve the problem.
Brent Fulgham
Fixed by use of separate environments per build process (Bug 116729).