• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 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_StorageStress.test'
6AUTHOR = 'grundler, gwendal, puthik'
7PURPOSE = 'Test StorageStress code'
8TIME = 'MEDIUM'
9TEST_CLASS = 'hardware'
10TEST_TYPE = 'server'
11
12DOC = """
13This test calls hardware_StorageFio to write data once and repeatedly verifies
14data in the storage for 5 minutes.
15
16While the test is running, we can corrupt the SSD and check the test is
17finding it with:
18
19 dd if=/dev/zero of=<tested partition> bs=512k
20
21"""
22
23def run_hardware_storage_stress(machine):
24    job.run_test('hardware_StorageStress', client_ip=machine, power_command='nothing',
25                 gap=5, duration=300)
26
27job.parallel_simple(run_hardware_storage_stress, machines)
28
29