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

Issue 3293004: Restore playback port after each test (Closed)

Created:
10 years, 3 months ago by davejcool
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, petkov+cc_chromium.org, seano+cc_chromium.org, ericli
Base URL:
ssh://git@chromiumos-git/autotest.git
Visibility:
Public.

Description

Each test was changing the active playback sink port to perform the test on that port, but then not setting the port back to its original setting after the test. This could cause another test that expects the port to be set to the system default to fail. It was also leaving the system in a state where audio would not play out the speakers if the last test done was on a non-speaker port. BUG=cros partner 724 TEST=System should still play audio fine after completing tests

Patch Set 1 : cleanup #

Total comments: 7

Patch Set 2 : More accurate port descriptions/usage #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -9 lines) Patch
M client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py View 1 11 chunks +44 lines, -9 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
davejcool
Hi, I added a call in the PlaybackRecordSemiAuto test to restore the playback port to ...
10 years, 3 months ago (2010-09-02 20:49:55 UTC) #1
ericli
http://codereview.chromium.org/3293004/diff/2001/3001 File client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py (right): http://codereview.chromium.org/3293004/diff/2001/3001#newcode772 client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py:772: if m is not None: if m: Please help ...
10 years, 3 months ago (2010-09-02 20:55:54 UTC) #2
awong
http://codereview.chromium.org/3293004/diff/2001/3001 File client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py (right): http://codereview.chromium.org/3293004/diff/2001/3001#newcode863 client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py:863: if device['active_port'] is not None: On 2010/09/02 20:55:55, ericli ...
10 years, 3 months ago (2010-09-02 21:00:45 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/3293004/diff/2001/3001 File client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py (right): http://codereview.chromium.org/3293004/diff/2001/3001#newcode961 client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py:961: self.restore_playback_port(playback_device) On 2010/09/02 21:00:46, awong wrote: > Should the ...
10 years, 3 months ago (2010-09-02 21:31:38 UTC) #4
davejcool
This last rev should clear up a lot of the confusion being had over which ...
10 years, 3 months ago (2010-09-04 00:45:43 UTC) #5
scherkus (not reviewing)
this LGTM to me but I think it'd be wise for ericli (or someone more ...
10 years, 3 months ago (2010-09-08 03:00:11 UTC) #6
seano
Taking a look. On Wed, Sep 8, 2010 at 5:00 AM, <scherkus@chromium.org> wrote: > this ...
10 years, 3 months ago (2010-09-08 08:38:10 UTC) #7
seano
LGTM On 2010/09/08 08:38:10, seano wrote: > Taking a look. > > On Wed, Sep ...
10 years, 3 months ago (2010-09-08 09:57:06 UTC) #8
awong
10 years, 3 months ago (2010-09-08 17:06:45 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698