|
Remove the 'http_lock' and 'file_lock' code from webkitpy.
We used to allow running run-webkit-tests concurrently and they would
coordinate amongst themselves when running the http tests using file
locks. This was used by the Qt port on their buildbots, but it's not
clear that this was needed anywhere else.
This patch removes all of that code, and deletes the generic file lock
module we had as it was now only being used when parsing ASAN logs,
which is only needed on mac and linux (where we can just use flock).
This patch also moves starting and stopping the servers from the
layout_test_runner to the manager, where we can wait to stop the servers
until after retrying any tests. This keeps us from having to start the
servers twice if we need to retry an HTTP test. This will speed up
HTTP retries a tiny bit, but slow down the overall run-webkit-tests
execution a bit in the normal case (no HTTP retries). This tradeoff
seems worth it in order to simplify the logic overall.
R=abarth@chromium.org, ojan@chromium.org
BUG= 252035
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152975
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+91 lines, -591 lines) |
Patch |
|
D |
Tools/Scripts/webkitpy/common/system/file_lock.py
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
|
D |
Tools/Scripts/webkitpy/common/system/file_lock_integrationtest.py
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
|
D |
Tools/Scripts/webkitpy/common/system/file_lock_mock.py
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/common/system/systemhost.py
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/common/system/systemhost_mock.py
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py
|
View
|
1
|
5 chunks |
+5 lines, -57 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py
|
View
|
|
2 chunks |
+1 line, -62 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
|
View
|
1
|
4 chunks |
+28 lines, -7 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py
|
View
|
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/port/base.py
|
View
|
1
2
3
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/layout_tests/port/chromium.py
|
View
|
1
2
3
|
2 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
|
D |
Tools/Scripts/webkitpy/layout_tests/port/http_lock.py
|
View
|
|
1 chunk |
+0 lines, -137 lines |
0 comments
|
Download
|
|
D |
Tools/Scripts/webkitpy/layout_tests/port/http_lock_unittest.py
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|