1 # Copyright (c) 2013 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 5 AUTHOR = "jwerner, chromeos-power, truty" 6 NAME = "power_SuspendStress.audio" 7 ATTRIBUTES = "suite:jailed_build" 8 SUITE = "jailed_build" 9 PURPOSE = "Run repeated iterations of suspend/resume while rendering audio." 10 TIME = "MEDIUM" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "power" 13 TEST_TYPE = "client" 14 15 DOC = """ 16 Runs eight minutes of suspend/resume cycles in the background of an audio tone. 17 """ 18 19 job.parallel([lambda: job.run_test('power_SuspendStress', tag='audio', 20 duration=480, init_delay=10, min_suspend=7)], 21 [lambda: job.run_test('audio_Aplay', duration=460, 22 tag='power_SuspendStress')]) 23