1# Copyright (c) 2016 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 = "chromeos-power"
6NAME = "power_SuspendStress.bareDailySuspendToIdle"
7ATTRIBUTES = "suite:power_daily"
8PURPOSE = "Run repeated iterations of suspend/resume to find rare errors."
9TIME = "MEDIUM"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "power"
12TEST_TYPE = "client"
13
14DOC = """
15Runs 250 iterations (~30mins) of bare suspend/resume cycles without additional
16workload. Forced to suspend to idle(S0ix). Follows this by a few short checks
17to make sure the system is still in a good state (work in progress, feel free
18to add some more).
19"""
20
21job.run_test('power_SuspendStress', duration=None, iterations=250, tag='bare',
22             suspend_state='freeze')
23
24job.run_test('hardware_EC', tag='power_SuspendStress')
25job.run_test('login_LoginSuccess', tag='power_SuspendStress')
26job.run_test('hardware_TPMCheck', tag='power_SuspendStress')
27job.run_test('audio_Aplay', tag='power_SuspendStress')
28