Home | History | Annotate | Download | only in power_SuspendStress
      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 AUTHOR = "jwerner, chromeos-power"
      6 NAME = "power_SuspendStress.disk"
      7 ATTRIBUTES = "suite:jailed_build"
      8 PURPOSE = "Run repeated iterations of suspend/resume while stressing the disk."
      9 TIME = "MEDIUM"
     10 TEST_CATEGORY = "Functional"
     11 TEST_CLASS = "power"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 Runs eight minutes of suspend/resume cycles in the background of a file I/O bench.
     16 """
     17 
     18 DURATION=480
     19 INIT_DELAY=10
     20 
     21 job.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