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