Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: client/site_tests/platform_CryptohomeFio/control.new

Issue 3412036: Basis for cryptohome+power_SuspendResume stress test. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: tweaks to test params Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/site_tests/platform_CryptohomeFio/control.new
diff --git a/client/site_tests/platform_CryptohomeFio/control.new b/client/site_tests/platform_CryptohomeFio/control.new
new file mode 100644
index 0000000000000000000000000000000000000000..664e5696863d2b27af1e914a7744030c1684d8b8
--- /dev/null
+++ b/client/site_tests/platform_CryptohomeFio/control.new
@@ -0,0 +1,48 @@
+# Copyright (c) 2010 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.
+
+TIME='LARGE'
+AUTHOR = 'The Chromium OS Authors'
+PURPOSE = 'Stress test the ecryptfs home directory across power state changes.'
+CRITERIA = 'This test is a stress test. Expected success, no crashes.'
+DOC = """This test uses fio and a basic configuration to test and
+validate writes to the ecryptfs vault. It does not create a login
+session, but mounts a special user dir for the test.
+"""
+NAME = 'platform_CryptohomeFio'
+TIME = 'MEDIUM'
+TEST_CLASS = 'platform'
+TEST_CATEGORY = 'Stress'
+TEST_TYPE = 'client'
+
+RUNTIME=60
+
+disk_configs = {#'tmpfs' : (False, True),
+ 'ext3+ssd' : (False, False),
+ 'ecryptfs+ext3+ssd' : (True, False),
+ }
+
+tests = { 'surfing': 'iops',
+ 'boot': 'bw',
+ 'login': 'bw',
+ 'seq_read': 'bw',
+ 'seq_write': 'bw',
+ '16k_read': 'iops',
+ '16k_write': 'iops',
+ '8k_read': 'iops',
+ '8k_write': 'iops',
+ '4k_read': 'iops',
+ '4k_write': 'iops',
+ }
+
+
+for test in tests.keys():
+ for config, opts in disk_configs.items():
+ job.run_test('platform_CryptohomeFio',
+ script=test,
+ tag='%s_%s' % (test, config),
+ runtime=RUNTIME,
+ mount_cryptohome=opts[0],
+ tmpfs=opts[1])
+

Powered by Google App Engine
This is Rietveld 408576698