• Home
  • 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
5TIME='MEDIUM'
6AUTHOR = 'gwendal'
7PURPOSE = 'Stress test the ecryptfs home directory across power state changes.'
8CRITERIA = 'This test is a stress test. Expected success, no crashes.'
9DOC = """This test uses fio and a basic configuration to test and
10validate writes to the ecryptfs vault. It does not create a login
11session, but mounts a special user dir for the test.
12"""
13NAME = 'platform_CryptohomeFio.dirty_setting'
14TEST_CLASS = 'platform'
15TEST_CATEGORY = 'Stress'
16TEST_TYPE = 'client'
17ATTRIBUTES = "suite:experimental"
18SUITE = 'experimental'
19
20sysctls_list = [
21    { 'vm/dirty_background_ratio': 1 },
22    { 'vm/dirty_background_ratio': 5 }, # the current default at the end.
23]
24
25job.run_test('platform_CryptohomeFio',
26        script='1m_write',
27        tag=NAME.split('.')[1],
28        disk_configs=['crypto', 'plain'],
29        runtime=120,
30        sysctls_list=sysctls_list)
31