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