• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
12
13DOC = """
14Runs eight minutes of bare suspend/resume cycles without additional workload.
15Follows this by a few short checks to make sure the system is still in a good
16state (work in progress, feel free to add some more).
17
18Put .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.
22RUN_PER_ITER=480
23# 8 mintues + ~4 minutes added per iteration, target to run test for ~40 hours.
24for 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