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 = "StorageQualSuspend.quick"
      7 ATTRIBUTES = "suite:kernel_weekly_regression, suite:storage_qual_quick"
      8 SUITE = "storage_qual_quick, kernel_weekly_regression"
      9 TIME = "LONG"
     10 TEST_CATEGORY = "Stress"
     11 TEST_CLASS = "suite"
     12 TEST_TYPE = "server"
     13 
     14 DOC = """
     15 Sequence for testing the Storage Qual running from the fixed devices.
     16 This tests check for data corruption when SSD is power cycled.
     17 """
     18 from autotest_lib.server import sequence
     19 
     20 
     21 SERVER_SEQUENCES = [
     22     sequence.SequenceJob(
     23             'hardware_StorageQualBase',
     24             {'tag': 'before', 'client_tag': 'before', 'crypto_runtime': 30}),
     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),
     30     sequence.SequenceJob(
     31             'hardware_StorageQualSuspendStress',
     32             {'tag': 'suspend', 'power_command': 'suspend'},
     33             iteration=2, duration=510),
     34     sequence.SequenceJob(
     35             'hardware_StorageQualBase',
     36             {'tag': 'after', 'client_tag': 'after', 'crypto_runtime': 30}),
     37 ]
     38 
     39 sequence.sequence_schedule(job, machines, SERVER_SEQUENCES)
     40