| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = 'Chromium OS team' |
| NAME = 'tast.network-cq' |
| METADATA = { |
| "contacts": ["cros-networking@google.com"], |
| # ChromeOS > Platform > System > Networking > Continuous Maintenance |
| "bug_component": "b:1493959", |
| 'criteria': 'Tauto wrapper for network_cq tast tests', |
| } |
| TIME = 'MEDIUM' |
| TEST_TYPE = 'Server' |
| ATTRIBUTES = 'suite:network_cq' |
| MAX_RESULT_SIZE_KB = 1024 * 1024 |
| PY_VERSION = 3 |
| |
| DOC = ''' |
| Run the Tast tests for network functions on suite:network_cq. |
| |
| "group:network" group of test that test general network functions. |
| sub-attributes: |
| * "network_cq": Tests that belong to network CQ and only gets triggered by CLs |
| that touch specific code paths. |
| |
| See http://go/tast-failures for information about investigating failures. |
| ''' |
| |
| def run(machine): |
| job.run_test('tast', |
| host=hosts.create_host(machine), |
| test_exprs=['("group:network" && network_cq)'], |
| ignore_test_failures=False, max_run_sec=10800, |
| command_args=args) |
| |
| parallel_simple(run, machines) |