Changeset 102072 in webkit
- Timestamp:
- Dec 5, 2011, 5:08:04 PM (15 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/layout_tests/port/base.py (modified) (1 diff)
-
Scripts/webkitpy/layout_tests/port/base_unittest.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r102056 r102072 1 2011-12-05 Eric Seidel <eric@webkit.org> 2 3 Up the "expected ram for each DRT instance" to 400MB instead of 300MB 4 in hopes of making the Snow Leopard bot stop timing out. 5 6 Unreviewed. 7 8 * Scripts/webkitpy/layout_tests/port/base.py: 9 (Port.default_child_processes): 10 * Scripts/webkitpy/layout_tests/port/base_unittest.py: 11 (PortTest.test_default_child_processes): 12 1 13 2011-12-05 Eric Seidel <eric@webkit.org> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py
r102056 r102072 169 169 total_memory = self.host.platform.total_bytes_memory() 170 170 if total_memory: 171 bytes_per_drt = 300 * 1024 * 1024 # Assume each DRT needs 300MB to run.171 bytes_per_drt = 400 * 1024 * 1024 # Assume each DRT needs 400MB to run. 172 172 supportable_instances = total_memory / bytes_per_drt 173 173 if supportable_instances < cpu_count: -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
r102056 r102072 57 57 port = self.make_port() 58 58 self.assertEqual(port.default_child_processes(), 2) 59 bytes_for_drt = 300 * 1024 * 102459 bytes_for_drt = 400 * 1024 * 1024 60 60 61 61 port.host.platform.total_bytes_memory = lambda: bytes_for_drt
Note:
See TracChangeset
for help on using the changeset viewer.