Bug 48457

Summary: fast/workers/storage/use-same-database-in-page-and-workers.html sometimes times out on Windows
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: WebCore Misc.Assignee: Dumitru Daniliuc <dumi>
Status: ASSIGNED ---    
Severity: Normal CC: ap, dumi
Priority: P2 Keywords: InRadar, LayoutTestFailure, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://build.webkit.org/results/Windows%20Debug%20(Tests)/r70649%20(21643)/results.html

Description Adam Roben (:aroben) 2010-10-27 12:40:37 PDT
fast/workers/storage/use-same-database-in-page-and-workers.html sometimes times out on Windows. See the URL for a failing example. I've added the test to the Skipped file.
Comment 1 Adam Roben (:aroben) 2010-10-27 12:46:28 PDT
<rdar://problem/8601089>
Comment 2 Dumitru Daniliuc 2010-10-27 15:26:25 PDT
Any idea how to reproduce the timeout? I just ran:

run-webkit-tests --debug --iterations 100 fast/workers/storage/use-same-database-in-page-and-workers.html

twice, and all 200 runs passed.
Comment 3 Adam Roben (:aroben) 2010-10-27 15:31:39 PDT
Maybe running all the tests will cause it to happen?
Comment 4 Dumitru Daniliuc 2010-10-27 15:36:27 PDT
I can't run all tests on Windows, because httpd crashes in my cygwin, but I'll try running a larger suite and see if I can get this test to time out.
Comment 5 Adam Roben (:aroben) 2010-11-01 08:04:46 PDT
(In reply to comment #4)
> I can't run all tests on Windows, because httpd crashes in my cygwin, but I'll try running a larger suite and see if I can get this test to time out.

Here's how you can fix httpd:

1) Create a /tmp/phprebase file containing the following two lines:
/path/to/LayoutTests/http/conf/libphp4.dll
/usr/lib/apache/libphp4.dll
2) Kill all Cygwin processes
3) Run this command via Start > Run:
c:\cygwin\bin\ash -c "/bin/rebaseall -T /tmp/phprebase"
Comment 6 Dumitru Daniliuc 2010-11-01 13:07:36 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > I can't run all tests on Windows, because httpd crashes in my cygwin, but I'll try running a larger suite and see if I can get this test to time out.
> 
> Here's how you can fix httpd:
> 
> 1) Create a /tmp/phprebase file containing the following two lines:
> /path/to/LayoutTests/http/conf/libphp4.dll
> /usr/lib/apache/libphp4.dll
> 2) Kill all Cygwin processes
> 3) Run this command via Start > Run:
> c:\cygwin\bin\ash -c "/bin/rebaseall -T /tmp/phprebase"

thanks adam! this fixed httpd.
Comment 7 David Kilzer (:ddkilzer) 2010-11-20 13:31:09 PST
See also Bug 49869.