| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from model.wf_swarming_task import WfSwarmingTask | 5 from model.wf_swarming_task import WfSwarmingTask |
| 6 from waterfall.process_base_swarming_task_result_pipeline import ( | 6 from waterfall.process_base_swarming_task_result_pipeline import ( |
| 7 ProcessBaseSwarmingTaskResultPipeline) | 7 ProcessBaseSwarmingTaskResultPipeline) |
| 8 | 8 |
| 9 | 9 |
| 10 class ProcessSwarmingTaskResultPipeline(ProcessBaseSwarmingTaskResultPipeline): | 10 class ProcessSwarmingTaskResultPipeline(ProcessBaseSwarmingTaskResultPipeline): |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 step_name (str): The failed test step name. | 37 step_name (str): The failed test step name. |
| 38 | 38 |
| 39 Returns: | 39 Returns: |
| 40 A dict of lists for reliable/flaky tests. | 40 A dict of lists for reliable/flaky tests. |
| 41 """ | 41 """ |
| 42 call_args = self._GetArgs( | 42 call_args = self._GetArgs( |
| 43 master_name, builder_name, build_number, step_name) | 43 master_name, builder_name, build_number, step_name) |
| 44 task = self._GetSwarmingTask(*call_args) | 44 task = self._GetSwarmingTask(*call_args) |
| 45 task_id = task.task_id | 45 task_id = task.task_id |
| 46 step_name_no_platform = self._MonitorSwarmingTask(task_id, *call_args) | 46 step_name_no_platform = self._MonitorSwarmingTask(task_id, *call_args) |
| 47 | |
| 48 return step_name, (step_name_no_platform, task.reliable_tests) | 47 return step_name, (step_name_no_platform, task.reliable_tests) |
| OLD | NEW |