• 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 = "jwerner, chromeos-power"
6NAME = "power_SuspendStress.disk"
7ATTRIBUTES = "suite:jailed_build"
8PURPOSE = "Run repeated iterations of suspend/resume while stressing the disk."
9TIME = "MEDIUM"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "power"
12TEST_TYPE = "client"
13
14DOC = """
15Runs eight minutes of suspend/resume cycles in the background of a file I/O bench.
16"""
17
18DURATION=480
19INIT_DELAY=10
20
21job.parallel([lambda: job.run_test('power_SuspendStress', tag='disk',
22                                   duration=DURATION, init_delay=INIT_DELAY, min_suspend=7)],
23             [lambda: job.run_test('hardware_StorageFio',
24                                   quicktest=True, test_length=INIT_DELAY+DURATION+30,
25                                   tag='power_SuspendStress')])
26