blob: dd6cb447cc2d8b6af37d7a361008bbacb9c6906a [file] [log] [blame]
# Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
NAME = 'hardware_MemoryIntegrity.memory_qual'
AUTHOR = 'puthik'
PURPOSE = 'Check memory integrity after long idle/suspend'
TEST_CLASS = 'hardware'
TEST_TYPE = 'server'
ATTRIBUTES = "suite:memory_qual2"
EXTENDED_TIMEOUT = 9000 # 2.5 hours
DOC = """
This test call hardware_StorageFio to write data once to the ramfs and
then after idle for an hour, verify the integrity of that data.
('hardware_MemoryIntegrity', {
'tag' : 'idle', 'seconds' : HOUR_IN_SECS, 'suspend': False}),
('hardware_MemoryIntegrity', {
'tag' : 'suspend', 'seconds' : HOUR_IN_SECS, 'suspend': True}),
def run_hardware_MemoryIntegrity_test(machine):
client = hosts.create_host(machine)
for test, argv in SERVER_TESTS:
job.run_test(test, client_ip=machine, **argv)
parallel_simple(run_hardware_MemoryIntegrity_test, machines)