[Webkit-unassigned] [Bug 46503] webkitpy.layout_tests.port.mac_unittest.MacTest.test_http_server fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 24 13:52:58 PDT 2010


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





--- Comment #7 from Dirk Pranke <dpranke at chromium.org>  2010-09-24 13:52:57 PST ---
(In reply to comment #4)
> (In reply to comment #2)
> > trying to run multiple concurrent copies of the layout_tests unit tests isn't necessarily supported or expected to work. I take it we're trying to change that?
> 
> The unit tests shouldn't have externally visible side effects.  That implies that you can run two copies of them concurrently without running into trouble.  If that's not the case, we need to remove the side effects.

Hrm. I understand the goal, but I'm not sure if that's achievable all the time in practice. For example, the particular unit test's whole point is to ensure that calling start_http_server() actually starts the http server on the port we expect it to be running on.

Two obvious potential workarounds for this are to dynamically choose a port to hopefully avoid conflicts, and to take out a lock on the port while attempting to run the test, but I can't think of a way to actually test this without it producing any visible effect at all. 

Other ideas?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list