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