• 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_full_disk'
6AUTHOR = 'puthik'
7PURPOSE = 'Verify that data written to disk remains valid after 72 hours.'
8TIME = 'LENGTHY'
9TEST_TYPE = 'client'
10
11DOC = """
12Test full drive integrity for internal disk.
13
14This test uses FIO to spawn a number of threads to perform a particular type of
15I/O. This test will do data integrity checks by first running a workload that
16writes data to the spare root partition and then verifying, after 72 hours,
17that the data on storage is still valid.
18
19NOTE: Must boot from USB or SD card to run this test.
20"""
21
22job.run_test(url='hardware_StorageFio', filesize=0, integrity='True',
23             wait=60 * 60 * 72, max_run_time_mins=60 * 73)
24