| # 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.soak' |
| PURPOSE = 'Stress the SSD to age it prematurely.' |
| Run intensive write/read test at different size for days. |
| Interleave every 15h a veritication test and measure latency/throughput. |
| def run_hardware_storage_stress(machine): |
| job.run_test('hardware_StorageStress', client_ip=machine, duration=24 * 60 * 60 * 7, |
| power_command='wait', storage_test_command='full_write', |
| suspend_duration= 5 * 60) |
| job.parallel_simple(run_hardware_storage_stress, machines) |