• 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'
11
12DOC = """
13This test calls hardware_StorageFio to write data once and repeatedly verifies
14data in the storage for 1 hour with machine suspended 5 minutes between
15each verify.
16"""
17
18def run_hardware_storage_stress(machine):
19    job.run_test('hardware_StorageStress', client_ip=machine,
20        power_command='suspend', suspend_duration=300, duration=3600)
21
22job.parallel_simple(run_hardware_storage_stress, machines)
23
24