Home | History | Annotate | Download | only in hardware_StorageFio
      1 # Copyright (c) 2012 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_StorageFio.integrity'
      6 AUTHOR = 'jcasse, grundler'
      7 PURPOSE = 'Verify that data written to disk remains valid after 72 hours.'
      8 TIME = 'LENGTHY'
      9 TEST_TYPE = 'client'
     10 
     11 DOC = """
     12 This test uses FIO to spawn a number of threads to perform a particular type of
     13 I/O. This test will do data integrity checks by first running a workload that
     14 writes data to the spare root partition and then verifying, after 72 hours,
     15 that the data on storage is still valid.
     16 
     17 NOTE: If autoupdate or another program accesses the spare root partition
     18 while this test is running, corruption may occur.
     19 """
     20 
     21 job.run_test(url='hardware_StorageFio',
     22              integrity='True', wait=60 * 60 * 72,
     23              max_run_time_mins=60 * 73)
     24