blob: d7c5016a8d2a06f4072e746db4110854393ae775 [file] [log] [blame]
# Copyright (c) 2013 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.
AUTHOR = "dchan"
NAME = "power_SuspendStress.faft"
PURPOSE = "Run long repeated iterations of suspend/resume to find rare errors."
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """
Runs eight minutes of bare suspend/resume cycles without additional workload.
Follows this by a few short checks to make sure the system is still in a good
state (work in progress, feel free to add some more).
Put .bare in a loop and run for 2 days. This test replaces suspend resume test.
# Suspend stress run per iteration in seconds.
# 8 mintues + ~4 minutes added per iteration, target to run test for ~40 hours.
for i in range(1,200):
job.run_test('power_SuspendStress', duration=RUN_PER_ITER, tag='faft%d'%i)
job.run_test('hardware_EC', tag='power_SuspendStress%d'%i)
job.run_test('login_LoginSuccess', tag='power_SuspendStress%d'%i)
job.run_test('hardware_TPMCheck', tag='power_SuspendStress%d'%i)
job.run_test('audio_Aplay', tag='power_SuspendStress%d'%i)