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 5NAME = 'hardware_StorageStress.soak' 6AUTHOR = 'gwendal' 7PURPOSE = 'Stress the SSD to age it prematurely.' 8TIME = 'LENGTHY' 9TEST_CLASS = 'hardware' 10TEST_TYPE = 'server' 11PY_VERSION = 3 12 13DOC = """ 14Run intensive write/read test at different size for days. 15Interleave every 15h a veritication test and measure latency/throughput. 16 17The test last 7 days. 18""" 19 20def run_hardware_storage_stress(machine): 21 job.run_test('hardware_StorageStress', client_ip=machine, duration=24 * 60 * 60 * 7, 22 power_command='wait', storage_test_command='full_write', 23 suspend_duration= 5 * 60) 24 25job.parallel_simple(run_hardware_storage_stress, machines) 26 27