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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 AUTHOR = "Akshay Lal <akshaylal@google.com>"
2 NAME = "wb_kupdate"
3 TEST_CATEGORY = "Functional"
4 TEST_CLASS = "General"
5 TEST_TYPE = "client"
6 TIME = 'MEDIUM'
7 DOC='''
8 This tests checks the wb_kupdate code path by writting data to a sparse file
9 and waiting at max of `max_flush_time` for the file to be flushed from the
10 cache to disk.
11 '''
12
13 import os
14 # Required Parameters:
15 # --------------------
16 mount_point='/export/wb_kupdate' # Absolute path.
17 file_count=5 # The number of files to write.
18 write_size=1 # In MB.
19
20 # Optional Parameters:
21 # --------------------
22 max_flush_time=1 # In minutes.
23 file_system='ext4' # mkfs.<file_system> must already exist on
24 # the machine. To avoid device initialization
25 # set to None.
26 remove_previous=False # Boolean.
27 sparse_file=os.path.join( # Absolute path to the sparse file.
28 job.tmpdir,
29 'sparse_file')
30 old_cleanup=False # Remove a previously created mount_point if it
31 # exits and not mounted.
32
33 # Beginning execution of the xfstests:
34 # ------------------------------------
35 job.run_test('wb_kupdate',
36 mount_point=mount_point,
37 file_count=int(file_count),
38 write_size=int(write_size),
39 max_flush_time=int(max_flush_time),
40 file_system=file_system,
41 remove_previous=remove_previous,
42 sparse_file=sparse_file,
43 old_cleanup=old_cleanup,
44 tag='wb_kupdate_execution')
OLDNEW
« 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