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.suspend'
      6 AUTHOR = 'puthik, grundler'
      7 PURPOSE = 'Check storage data integrity after multiple reboot/suspend'
      8 TIME = 'LENGTHY'
      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 1 hour with machine suspended 5 minutes between
     15 each verify.
     16 """
     17 
     18 def run_hardware_storage_stress(machine):
     19     job.run_test('hardware_StorageStress', client_ip=machine,
     20         power_command='suspend', suspend_duration=300, duration=3600)
     21 
     22 job.parallel_simple(run_hardware_storage_stress, machines)
     23 
     24