• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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
5AUTHOR = "gwendal"
6NAME = "StorageQualRetention.quick"
7ATTRIBUTES = "suite:kernel_weekly_regression, suite:storage_qual_quick"
8SUITE = "storage_qual_quick, kernel_weekly_regression"
9TIME = "LONG"
10TEST_CATEGORY = "Stress"
11TEST_CLASS = "suite"
12TEST_TYPE = "server"
13
14DOC = """
15Sequence for testing the Storage Qual running from the fixed devices.
16This tests check retentions.
17"""
18from autotest_lib.server import sequence
19
20
21# tag is specified twice, because it is popped in _build_tagged_test_name().
22SERVER_SEQUENCES = [
23    sequence.SequenceJob(
24            'hardware_StorageQualBase',
25            { 'tag': 'before', 'client_tag': 'before'}),
26    sequence.SequenceJob(
27            'hardware_StorageStress',
28            {'tag': 'soak', 'power_command': 'nothing',
29             'storage_test_command': 'full_write'},
30            iteration=2, duration=sequence.HOUR_IN_SECS / 2),
31    sequence.SequenceJob(
32            'hardware_StorageStress',
33            {'tag': 'suspend', 'power_command': 'suspend',
34             'suspend_duration': 120},
35            duration=sequence.HOUR_IN_SECS / 2),
36    sequence.SequenceJob(
37            'hardware_StorageQualBase',
38            { 'tag': 'after', 'client_tag': 'after'}),
39]
40
41sequence.sequence_schedule(job, machines, SERVER_SEQUENCES)
42
43