xref: /aosp_15_r20/external/autotest/server/site_tests/hardware_StorageStress/control.test (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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'
11PY_VERSION = 3
12
13DOC = """
14This test calls hardware_StorageFio to write data once and repeatedly verifies
15data in the storage for 5 minutes.
16
17While the test is running, we can corrupt the SSD and check the test is
18finding it with:
19
20 dd if=/dev/zero of=<tested partition> bs=512k
21
22"""
23
24def run_hardware_storage_stress(machine):
25    job.run_test('hardware_StorageStress', client_ip=machine, power_command='nothing',
26                 gap=5, duration=300)
27
28job.parallel_simple(run_hardware_storage_stress, machines)
29
30