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