• 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.suspend'
6AUTHOR = 'puthik, grundler'
7PURPOSE = 'Check storage data integrity after multiple reboot/suspend'
8TIME = 'LENGTHY'
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 1 hour with machine suspended 5 minutes between
16each verify.
17"""
18
19def run_hardware_storage_stress(machine):
20    job.run_test('hardware_StorageStress', client_ip=machine,
21        power_command='suspend', suspend_duration=300, duration=3600)
22
23job.parallel_simple(run_hardware_storage_stress, machines)
24
25