# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This file has been automatically generated. Do not edit!

AUTHOR = 'ARC++ Team'
NAME = 'cheets_CTS_N.x86.CtsMediaStressTestCases'
ATTRIBUTES = 'suite:cts_N'
DEPENDENCIES = 'arc, cts_abi_x86'
JOB_RETRIES = 2
TEST_TYPE = 'server'
TIME = 'LONG'
MAX_RESULT_SIZE_KB = 307200

DOC = ('Run module CtsMediaStressTestCases of the '
       'Android Compatibility Test Suite (CTS) using x86 ABI in the ARC++ container.')

def run_CTS(machine):
    host = hosts.create_host(machine)
    job.run_test(
        'cheets_CTS_N',
        host=host,
        iterations=1,
        max_retry=3,
        needs_push_media=True,
        tag='CtsMediaStressTestCases',
        target_module='CtsMediaStressTestCases',
        bundle='x86',
        warn_on_test_retry=False,
        retry_manual_tests=True,
        timeout=21600)

parallel_simple(run_CTS, machines)