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