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 5# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3. 6# For instructions on how to: go/tauto-py3-migration 7# To re-enable migrate to Python 3. 8# If the test is not migrated by 1/14/22 it will be deleted. 9 10AUTHOR = "jwerner, chromeos-power" 11NAME = "power_SuspendStress.disk" 12ATTRIBUTES = "suite:jailed_build" 13PURPOSE = "Run repeated iterations of suspend/resume while stressing the disk." 14TIME = "MEDIUM" 15TEST_CATEGORY = "Functional" 16TEST_CLASS = "power" 17TEST_TYPE = "client" 18PY_VERSION = 3 19 20DOC = """ 21Runs eight minutes of suspend/resume cycles in the background of a file I/O bench. 22""" 23 24DURATION=480 25INIT_DELAY=10 26 27job.parallel([lambda: job.run_test('power_SuspendStress', tag='disk', 28 duration=DURATION, init_delay=INIT_DELAY, min_suspend=7)], 29 [lambda: job.run_test('hardware_StorageFio', 30 quicktest=True, test_length=INIT_DELAY+DURATION+30, 31 tag='power_SuspendStress')]) 32