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

Issue 10781032: restarting adb server before each testing start will cause conflict for multiple emulators (Closed)

Created:
8 years, 5 months ago by Wei James(wistoch)
Modified:
8 years, 5 months ago
Reviewers:
John Grabowski, bulach
CC:
chromium-reviews
Visibility:
Public.

Description

Restarting adb server before each testing start will cause conflict for multiple emulators Sometimes there is conflict when several tests restart adb server at the same time. Originally, restarting adb server is to fix the issue of connection lost with adb server when emulator booting, as this case already handled in AndroidCommand::WaitForSystemBootCompleted(), so it can be removed now. Also fix a typo. BUG= TEST=./build/android/run_tests.py -e -n 5 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148242

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase and address the issues in comments #

Total comments: 2

Patch Set 3 : fix issues for bulach's comments #

Total comments: 1

Patch Set 4 : delete temp avds when start up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M build/android/emulator.py View 1 2 3 3 chunks +22 lines, -1 line 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M build/android/pylib/single_test_runner.py View 1 1 chunk +0 lines, -4 lines 0 comments Download
M build/android/run_tests.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Wei James(wistoch)
I have tested it for several times with all default unit tests and it works ...
8 years, 5 months ago (2012-07-17 08:05:03 UTC) #1
bulach
lgtm, thanks! just some nits and suggestions. as for starting the emulator only once for ...
8 years, 5 months ago (2012-07-17 10:26:08 UTC) #2
John Grabowski
http://chromiumcodereview.appspot.com/10781032/diff/1/build/android/emulator.py File build/android/emulator.py (right): http://chromiumcodereview.appspot.com/10781032/diff/1/build/android/emulator.py#newcode152 build/android/emulator.py:152: avd_command = [ add docstring. doc return values. http://chromiumcodereview.appspot.com/10781032/diff/1/build/android/run_tests.py ...
8 years, 5 months ago (2012-07-17 18:09:22 UTC) #3
Wei James(wistoch)
jrg, bulach, sorry for later response. As several bulach's patches landed, I have tested it ...
8 years, 5 months ago (2012-07-20 04:07:01 UTC) #4
bulach
lgtm, thanks for testing it! just one nit with the doc, we either need to ...
8 years, 5 months ago (2012-07-20 11:28:51 UTC) #5
Wei James(wistoch)
all issues addressed. thanks http://chromiumcodereview.appspot.com/10781032/diff/7001/build/android/emulator.py File build/android/emulator.py (right): http://chromiumcodereview.appspot.com/10781032/diff/7001/build/android/emulator.py#newcode154 build/android/emulator.py:154: Return avd_name if succeed. On ...
8 years, 5 months ago (2012-07-20 12:48:24 UTC) #6
Wei James(wistoch)
On 2012/07/20 12:48:24, James Wei wrote: > all issues addressed. thanks > > http://chromiumcodereview.appspot.com/10781032/diff/7001/build/android/emulator.py > ...
8 years, 5 months ago (2012-07-23 14:57:13 UTC) #7
John Grabowski
LGTM http://chromiumcodereview.appspot.com/10781032/diff/12001/build/android/emulator.py File build/android/emulator.py (right): http://chromiumcodereview.appspot.com/10781032/diff/12001/build/android/emulator.py#newcode177 build/android/emulator.py:177: avd_command = [ If the test crashes (e.g. ...
8 years, 5 months ago (2012-07-23 19:21:15 UTC) #8
Wei James(wistoch)
On 2012/07/23 19:21:15, John Grabowski wrote: > LGTM > > http://chromiumcodereview.appspot.com/10781032/diff/12001/build/android/emulator.py > File build/android/emulator.py (right): ...
8 years, 5 months ago (2012-07-24 00:58:03 UTC) #9
John Grabowski
On 2012/07/24 00:58:03, James Wei wrote: > On 2012/07/23 19:21:15, John Grabowski wrote: > > ...
8 years, 5 months ago (2012-07-24 01:00:53 UTC) #10
Wei James(wistoch)
On 2012/07/24 01:00:53, John Grabowski wrote: > On 2012/07/24 00:58:03, James Wei wrote: > > ...
8 years, 5 months ago (2012-07-24 06:03:00 UTC) #11
John Grabowski
Still LGTM
8 years, 5 months ago (2012-07-24 18:06:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/10781032/17001
8 years, 5 months ago (2012-07-24 21:36:59 UTC) #13
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 23:14:08 UTC) #14
Change committed as 148242

Powered by Google App Engine
This is Rietveld 408576698