Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 1154343007: Add extra content_shell per worker for virtual tests, except on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove stray code Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/Scripts/webkitpy/layout_tests/port/base.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/base.py b/Tools/Scripts/webkitpy/layout_tests/port/base.py
index 493cecf216bc675adc89a47bfc20766652170047..990fc180ae115f8a0b804b689106722046465644 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/base.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/base.py
@@ -269,9 +269,13 @@ class Port(object):
return None
def default_child_processes(self):
- """Return the number of drivers to use for this port."""
+ """Return the number of child processes to use for this port."""
return self._executive.cpu_count()
+ def default_max_drivers_per_process(self):
+ """The maximum number of drivers a child process can use for this port."""
+ return 2
+
def default_max_locked_shards(self):
"""Return the number of "locked" shards to run in parallel (like the http tests)."""
max_locked_shards = int(self.default_child_processes()) / 4

Powered by Google App Engine
This is Rietveld 408576698