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

Issue 1213005: Add test to check stateful partition contents (Closed)

Created:
10 years, 9 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org, kmixter1, petkov, seano, ericli, sosa, sosa+cc_chromium.org, petkov+cc_chromium.org
Visibility:
Public.

Description

Add test to check stateful partition contents Checks what files are on the stateful partition of a logged in user, as well as the amount of the stateful partition that's been used.

Patch Set 1 #

Patch Set 2 : Add to BVTs #

Total comments: 8

Patch Set 3 : for slower machines, need to wait for the browser to start before trying to log out #

Total comments: 2

Patch Set 4 : use site_ui_test, add a few files, rename wait_for_login, and remove trailing spaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -12 lines) Patch
M client/bin/site_login.py View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download
M client/bin/site_ui_test.py View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
A client/site_tests/logging_LogVolume/control View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A client/site_tests/logging_LogVolume/logging_LogVolume.py View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A client/site_tests/logging_LogVolume/stateful_whitelist.txt View 1 2 3 1 chunk +202 lines, -0 lines 0 comments Download
M server/site_tests/suite_BuildVerify/control View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kmixter1
10 years, 9 months ago (2010-03-25 00:44:56 UTC) #1
sosa
Few questions: Should we be including directories in the whitelist? I just checked that re.match ...
10 years, 9 months ago (2010-03-25 01:30:50 UTC) #2
kmixter1
PTAL I add '$' to the end of regexps before passing them to match, so ...
10 years, 9 months ago (2010-03-26 02:25:16 UTC) #3
sosa
lgtm unless you wanna switch to a subclass of UITest in this CL http://codereview.chromium.org/1213005/diff/9001/10003 File ...
10 years, 9 months ago (2010-03-26 16:35:56 UTC) #4
kmixter1
10 years, 8 months ago (2010-03-29 17:52:14 UTC) #5
I switched to UITest and submitted.

On Fri, Mar 26, 2010 at 9:35 AM,  <sosa@chromium.org> wrote:
> lgtm unless you wanna switch to a subclass of UITest in this CL
>
>
> http://codereview.chromium.org/1213005/diff/9001/10003
> File client/site_tests/logging_LogVolume/logging_LogVolume.py (right):
>
> http://codereview.chromium.org/1213005/diff/9001/10003#newcode28
> client/site_tests/logging_LogVolume/logging_LogVolume.py:28: if not
> site_login.attempt_logout():
> Can you make this a subclass of site_ui_test.UITest rather than test and
> remove all the common login code?  You can also (or I) in another CL.
> Up to you
>
> http://codereview.chromium.org/1213005/diff/9001/10003#newcode97
> client/site_tests/logging_LogVolume/logging_LogVolume.py:97: raise
> error.TestFail('Coult not wait for login manager')
> Change comment or if you have changed to UI Test then just let it
> cleanup itself
>
> http://codereview.chromium.org/1213005
>

Powered by Google App Engine
This is Rietveld 408576698