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 5AUTHOR = "dchan" 6NAME = "power_SuspendStress.faft" 7PURPOSE = "Run long repeated iterations of suspend/resume to find rare errors." 8TIME = "LONG" 9TEST_CATEGORY = "Stress" 10TEST_CLASS = "power" 11TEST_TYPE = "client" 12PY_VERSION = 3 13 14DOC = """ 15Runs eight minutes of bare suspend/resume cycles without additional workload. 16Follows this by a few short checks to make sure the system is still in a good 17state (work in progress, feel free to add some more). 18 19Put .bare in a loop and run for 2 days. This test replaces suspend resume test. 20""" 21 22# Suspend stress run per iteration in seconds. 23RUN_PER_ITER=480 24# 8 mintues + ~4 minutes added per iteration, target to run test for ~40 hours. 25for i in range(1,200): 26 job.run_test('power_SuspendStress', duration=RUN_PER_ITER, tag='faft%d'%i) 27 job.run_test('hardware_EC', tag='power_SuspendStress%d'%i) 28 job.run_test('login_LoginSuccess', tag='power_SuspendStress%d'%i) 29 job.run_test('hardware_TPMCheck', tag='power_SuspendStress%d'%i) 30 job.run_test('audio_Aplay', tag='power_SuspendStress%d'%i) 31