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

Unified Diff: client/tests/wb_kupdate/control

Issue 6539001: Merge remote branch 'cros/upstream' into master. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 10 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
« no previous file with comments | « client/tests/wb_kupdate/common.py ('k') | client/tests/wb_kupdate/wb_kupdate.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/wb_kupdate/control
diff --git a/client/tests/wb_kupdate/control b/client/tests/wb_kupdate/control
new file mode 100644
index 0000000000000000000000000000000000000000..eed8847e44dfadd97abb23d42a99b055ec2f0333
--- /dev/null
+++ b/client/tests/wb_kupdate/control
@@ -0,0 +1,44 @@
+AUTHOR = "Akshay Lal <akshaylal@google.com>"
+NAME = "wb_kupdate"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "General"
+TEST_TYPE = "client"
+TIME = 'MEDIUM'
+DOC='''
+This tests checks the wb_kupdate code path by writting data to a sparse file
+and waiting at max of `max_flush_time` for the file to be flushed from the
+cache to disk.
+'''
+
+import os
+# Required Parameters:
+# --------------------
+mount_point='/export/wb_kupdate' # Absolute path.
+file_count=5 # The number of files to write.
+write_size=1 # In MB.
+
+# Optional Parameters:
+# --------------------
+max_flush_time=1 # In minutes.
+file_system='ext4' # mkfs.<file_system> must already exist on
+ # the machine. To avoid device initialization
+ # set to None.
+remove_previous=False # Boolean.
+sparse_file=os.path.join( # Absolute path to the sparse file.
+ job.tmpdir,
+ 'sparse_file')
+old_cleanup=False # Remove a previously created mount_point if it
+ # exits and not mounted.
+
+# Beginning execution of the xfstests:
+# ------------------------------------
+job.run_test('wb_kupdate',
+ mount_point=mount_point,
+ file_count=int(file_count),
+ write_size=int(write_size),
+ max_flush_time=int(max_flush_time),
+ file_system=file_system,
+ remove_previous=remove_previous,
+ sparse_file=sparse_file,
+ old_cleanup=old_cleanup,
+ tag='wb_kupdate_execution')
« no previous file with comments | « client/tests/wb_kupdate/common.py ('k') | client/tests/wb_kupdate/wb_kupdate.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698