xref: /aosp_15_r20/external/autotest/client/site_tests/platform_CryptohomeStress/control.surfing (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1AUTHOR = "Chromium OS Team"
2NAME = "platform_CryptohomeStress.surfing"
3PURPOSE = "Stress test the encrypted file system in Chromium OS."
4TIME = "LONG"
5TEST_CATEGORY = "Security"
6TEST_CLASS = "security"
7TEST_TYPE = "client"
8PY_VERSION = 3
9ATTRIBUTES = "suite:bvt-perbuild"
10
11DOC = """
12This is a stress test of the file system in Chromium OS. While performing the
13test, we will cycle through power states, and interrupt disk activity.
14"""
15
16# The time in seconds to run this stress for, passed to the individual tests.
17RUNTIME = 600
18
19def run_sleeper():
20    job.run_test('power_SuspendStress', duration=RUNTIME, min_suspend=20)
21
22def run_fio():
23    job.run_test('platform_CryptohomeFio', runtime=RUNTIME,
24                 disk_configs=['crypto'], script='surfing')
25
26def run_cryptohomestress():
27    job.run_test('platform_CryptohomeStress', runtime=RUNTIME)
28
29job.parallel([run_sleeper], [run_fio], [run_cryptohomestress])
30