blob: 165daf757478440c1bc1a5501db19f3a25bf2afa [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
NAME = 'hardware_StorageStress.suspend'
AUTHOR = 'puthik, grundler'
PURPOSE = 'Check storage data integrity after multiple reboot/suspend'
TEST_CLASS = 'hardware'
TEST_TYPE = 'server'
DOC = """
This test calls hardware_StorageFio to write data once and repeatedly verifies
data in the storage for 1 hour with machine suspended 5 minutes between
each verify.
def run_hardware_storage_stress(machine):
job.add_sysinfo_logfile('/var/log/storage_info.txt', on_every_test=True)
job.run_test('hardware_StorageStress', client_ip=machine,
power_command='suspend', suspend_duration=300, duration=3600)
job.parallel_simple(run_hardware_storage_stress, machines)