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 NAME = 'hardware_StorageStress.test' 6 AUTHOR = 'grundler, gwendal, puthik' 7 PURPOSE = 'Test StorageStress code' 8 TIME = 'MEDIUM' 9 TEST_CLASS = 'hardware' 10 TEST_TYPE = 'server' 11 12 DOC = """ 13 This test calls hardware_StorageFio to write data once and repeatedly verifies 14 data in the storage for 5 minutes. 15 16 While the test is running, we can corrupt the SSD and check the test is 17 finding it with: 18 19 dd if=/dev/zero of=<tested partition> bs=512k 20 21 """ 22 23 def run_hardware_storage_stress(machine): 24 job.run_test('hardware_StorageStress', client_ip=machine, power_command='nothing', 25 gap=5, duration=300) 26 27 job.parallel_simple(run_hardware_storage_stress, machines) 28 29