• 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.soak'
6AUTHOR = 'gwendal'
7PURPOSE = 'Stress the SSD to age it prematurely.'
8TIME = 'LENGTHY'
9TEST_CLASS = 'hardware'
10TEST_TYPE = 'server'
11
12DOC = """
13Run intensive write/read test at different size for days.
14Interleave every 15h a veritication test and measure latency/throughput.
15
16The test last 7 days.
17"""
18
19def run_hardware_storage_stress(machine):
20    job.run_test('hardware_StorageStress', client_ip=machine, duration=24 * 60 * 60 * 7,
21                  power_command='wait', storage_test_command='full_write',
22                  suspend_duration= 5 * 60)
23
24job.parallel_simple(run_hardware_storage_stress, machines)
25
26