Changeset 215361 in webkit


Ignore:
Timestamp:
Apr 14, 2017 8:13:09 AM (7 years ago)
Author:
Jonathan Bedard
Message:

webkitpy: Ignore previously launched pid when system is under stress
https://bugs.webkit.org/show_bug.cgi?id=170741

Unreviewed infrastructure fix.

Server processes are destroyed in the driver, which is not necessary and prevents
the work-around implemented in https://bugs.webkit.org/show_bug.cgi?id=170741.

  • Scripts/webkitpy/port/driver.py:

(Driver.run_test): Do not destroy server process.
(Driver._start): Only create the server process if it is None.
(Driver.stop): Do not destroy server process.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r215355 r215361  
     12017-04-14  Jonathan Bedard  <jbedard@apple.com>
     2
     3        webkitpy: Ignore previously launched pid when system is under stress
     4        https://bugs.webkit.org/show_bug.cgi?id=170741
     5
     6        Unreviewed infrastructure fix.
     7
     8        Server processes are destroyed in the driver, which is not necessary and prevents
     9        the work-around implemented in https://bugs.webkit.org/show_bug.cgi?id=170741.
     10
     11        * Scripts/webkitpy/port/driver.py:
     12        (Driver.run_test): Do not destroy server process.
     13        (Driver._start): Only create the server process if it is None.
     14        (Driver.stop): Do not destroy server process.
     15
    1162017-04-13  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/Tools/Scripts/webkitpy/port/driver.py

    r214705 r215361  
    219219            if err:
    220220                self.error_from_test += err
    221             self._server_process = None
    222221
    223222        crash_log = None
     
    370369        self._crashed_process_name = None
    371370        self._crashed_pid = None
    372         self._server_process = self._port._test_runner_process_constructor(self._port, self._server_name, self.cmd_line(pixel_tests, per_test_args), environment, target_host=self._target_host)
     371        if self._server_process is None:
     372            self._server_process = self._port._test_runner_process_constructor(self._port, self._server_name, self.cmd_line(pixel_tests, per_test_args), environment, target_host=self._target_host)
    373373        self._server_process.start()
    374374
     
    385385        if self._server_process:
    386386            self._server_process.stop(self._port.driver_stop_timeout())
    387             self._server_process = None
    388387            if self._profiler:
    389388                self._profiler.profile_after_exit()
Note: See TracChangeset for help on using the changeset viewer.