⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 102072 in webkit


Ignore:
Timestamp:
Dec 5, 2011, 5:08:04 PM (15 years ago)
Author:
eric@webkit.org
Message:

Up the "expected ram for each DRT instance" to 400MB instead of 300MB
in hopes of making the Snow Leopard bot stop timing out.

Unreviewed.

  • Scripts/webkitpy/layout_tests/port/base.py:

(Port.default_child_processes):

  • Scripts/webkitpy/layout_tests/port/base_unittest.py:

(PortTest.test_default_child_processes):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r102056 r102072  
     12011-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
    1132011-12-05  Eric Seidel  <eric@webkit.org>
    214
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py

    r102056 r102072  
    169169        total_memory = self.host.platform.total_bytes_memory()
    170170        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.
    172172            supportable_instances = total_memory / bytes_per_drt
    173173            if supportable_instances < cpu_count:
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py

    r102056 r102072  
    5757        port = self.make_port()
    5858        self.assertEqual(port.default_child_processes(), 2)
    59         bytes_for_drt = 300 * 1024 * 1024
     59        bytes_for_drt = 400 * 1024 * 1024
    6060
    6161        port.host.platform.total_bytes_memory = lambda: bytes_for_drt
Note: See TracChangeset for help on using the changeset viewer.