• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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'
10
11DOC = """
12This test uses FIO to spawn a number of threads to perform a particular type of
13I/O. This test will do data integrity checks by first running a workload that
14writes data to the spare root partition and then verifying, after 72 hours,
15that the data on storage is still valid.
16
17NOTE: If autoupdate or another program accesses the spare root partition
18while this test is running, corruption may occur.
19"""
20
21job.run_test(url='hardware_StorageFio',
22             integrity='True', wait=60 * 60 * 72,
23             max_run_time_mins=60 * 73)
24