• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2021 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5from autotest_lib.client.common_lib import utils
6
7AUTHOR = 'Chromium OS team'
8NAME = 'tast.tast-timeout'
9TIME = 'SHORT'
10TEST_TYPE = 'Server'
11# Uncomment the following line for CQ testing
12#ATTRIBUTES = 'suite:bvt-tast-cq'
13MAX_RESULT_SIZE_KB = 256 * 1024
14PY_VERSION = 3
15
16# tast.py uses binaries installed from autotest_server_package.tar.bz2.
17REQUIRE_SSP = True
18
19DOC = '''
20Simulate a tast timeout in the middle of the running tast tests.
21
22'''
23
24def run(machine):
25    job.run_test('tast',
26                 host=hosts.create_host(machine),
27                 test_exprs=['('
28                             '"group:mainline" && '
29                             '"name:example.*"'
30                             ')'],
31                 ignore_test_failures=False, max_run_sec=120,
32                 command_args=args,
33                 clear_tpm=False)
34
35parallel_simple(run, machines)
36