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