aboutsummaryrefslogtreecommitdiff
path: root/client/site_tests/power_SuspendStress/control.faft
blob: d7c5016a8d2a06f4072e746db4110854393ae775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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."
TIME = "LONG"
TEST_CATEGORY = "Stress"
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.
RUN_PER_ITER=480
# 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)