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

Issue 6264005: Pre-generate updates for test harness in parallel. (Closed)

Created:
9 years, 11 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
dgarrett
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Pre-generate updates for test harness in parallel. First CL of many. Thought I'd commit this before the others since it sets stuff up for the other CL's (i.e. Thread Pool). With this CL, all updates will be pre-generated before the test run. This should improve some speeds since the two updates will be produced at the same time rather than at the time of the sequential tests. Change-Id: Iaf0a06f0d99c31d3d749e478fd2fb6efa0763a28 BUG=chromium-os:10723 TEST=Ran it with -q Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=a4cc3cd

Patch Set 1 #

Patch Set 2 : ws #

Patch Set 3 : Remove test prefix by accident #

Patch Set 4 : Fixes #

Patch Set 5 : Remove unused fun #

Total comments: 6

Patch Set 6 : Change for dgarrett #

Patch Set 7 : Last upload b4 commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -21 lines) Patch
M bin/cros_au_test_harness.py View 1 2 3 4 5 10 chunks +162 lines, -21 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sosa
9 years, 11 months ago (2011-01-19 00:52:05 UTC) #1
sosa
PTAL some fixes for detcing the VM image and fixed a bug in UpdateWithFilter
9 years, 11 months ago (2011-01-19 22:59:42 UTC) #2
dgarrett
LGTM, with a few nits. http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py#newcode137 bin/cros_au_test_harness.py:137: except Exception as err: ...
9 years, 11 months ago (2011-01-20 03:34:27 UTC) #3
sosa
Is this what you meant by the else? http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py#newcode137 bin/cros_au_test_harness.py:137: except ...
9 years, 11 months ago (2011-01-20 03:59:49 UTC) #4
dgarrett
9 years, 11 months ago (2011-01-20 04:20:16 UTC) #5
Yep.

LGTM!

On Wed, Jan 19, 2011 at 7:59 PM, <sosa@chromium.org> wrote:

> Is this what you meant by the else?
>
>
>
>
> http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py
> File bin/cros_au_test_harness.py (right):
>
>
>
http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py...
> bin/cros_au_test_harness.py:137: except Exception as err:
> On 2011/01/20 03:34:27, dgarrett wrote:
>
>> After reading this again, the new exception handler shouldn't be
>>
> added, the
>
>> warning messages (and perhaps a new fail message) should just be in an
>>
> else
>
>> clause for the above if.
>>
>
> Done.
>
>
>
>
http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py...
> bin/cros_au_test_harness.py:508: self._first_update = True
> On 2011/01/20 03:34:27, dgarrett wrote:
>
>> A comment explaining the purpose of _first_image would probably be
>>
> really
>
>> helpful. Or perhaps renaming it to a name related to qemu, somehow.
>>
>
> Done.
>
>
>
>
http://codereview.chromium.org/6264005/diff/12001/bin/cros_au_test_harness.py...
> bin/cros_au_test_harness.py:520: '--test_image'], enter_chroot=True)
> On 2011/01/20 03:34:27, dgarrett wrote:
>
>> arguments should be indented to match the open [.
>>
>
> Done.
>
>
> http://codereview.chromium.org/6264005/
>



-- 
Don

Powered by Google App Engine
This is Rietveld 408576698