Changeset 112181 in webkit
- Timestamp:
- Mar 26, 2012 5:12:49 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r112176 r112181 1 2012-03-26 Mark Hahnenberg <mhahnenberg@apple.com> 2 3 NRWT should retry failures serially 4 https://bugs.webkit.org/show_bug.cgi?id=82241 5 6 Reviewed by Dirk Pranke. 7 8 * Scripts/webkitpy/layout_tests/controllers/manager.py: 9 (Manager._run_tests): Add another parameter to specify the number of workers to use. 10 (Manager.run): Run the failures serially. 11 1 12 2012-03-26 Adrienne Walker <enne@google.com> 2 13 -
trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
r112171 r112181 708 708 (num_workers, driver_name, num_shards, num_locked_shards)) 709 709 710 def _run_tests(self, file_list, result_summary ):710 def _run_tests(self, file_list, result_summary, num_workers): 711 711 """Runs the tests in the file_list. 712 712 … … 749 749 self.start_servers_with_lock() 750 750 751 num_workers = min( int(self._options.child_processes), len(all_shards))751 num_workers = min(num_workers, len(all_shards)) 752 752 self._log_num_workers(num_workers, len(all_shards), len(locked_shards)) 753 753 … … 895 895 start_time = time.time() 896 896 897 interrupted, keyboard_interrupted, thread_timings, test_timings, individual_test_timings = self._run_tests(self._test_files_list, result_summary )897 interrupted, keyboard_interrupted, thread_timings, test_timings, individual_test_timings = self._run_tests(self._test_files_list, result_summary, int(self._options.child_processes)) 898 898 899 899 # We exclude the crashes from the list of results to retry, because … … 908 908 retry_summary = ResultSummary(self._expectations, failures.keys()) 909 909 # Note that we intentionally ignore the return value here. 910 self._run_tests(failures.keys(), retry_summary )910 self._run_tests(failures.keys(), retry_summary, num_workers=1) 911 911 failures = self._get_failures(retry_summary, include_crashes=True, include_missing=True) 912 912
Note: See TracChangeset
for help on using the changeset viewer.