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

Issue 2860673005: Add assertion to EmbeddedTestServer creation method (Closed)

Created:
3 years, 7 months ago by the real yoland
Modified:
3 years, 7 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add assertion to EmbeddedTestServer creation method When the EmbeddedTestServer is created on UiThread, the test would hang forever because it will hang waiting for tasks to post to UI thread BUG=720155 Review-Url: https://codereview.chromium.org/2860673005 Cr-Commit-Position: refs/heads/master@{#473310} Committed: https://chromium.googlesource.com/chromium/src/+/508534a90769468c845e0f0438fbcb4f4fe38d51

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed to Assertion in JUnit #

Patch Set 3 : Add deps to gn #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M net/android/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (25 generated)
the real yoland
3 years, 7 months ago (2017-05-04 00:27:31 UTC) #2
jbudorick
https://codereview.chromium.org/2860673005/diff/1/net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java File net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java (right): https://codereview.chromium.org/2860673005/diff/1/net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java#newcode230 net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java:230: assert (Looper.getMainLooper() != Looper.myLooper()) This should use a the ...
3 years, 7 months ago (2017-05-04 01:10:15 UTC) #5
the real yoland
https://codereview.chromium.org/2860673005/diff/1/net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java File net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java (right): https://codereview.chromium.org/2860673005/diff/1/net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java#newcode230 net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java:230: assert (Looper.getMainLooper() != Looper.myLooper()) On 2017/05/04 at 01:10:15, jbudorick ...
3 years, 7 months ago (2017-05-04 01:23:39 UTC) #6
jbudorick
also: do you have more context for this? Where did it come up? Is there ...
3 years, 7 months ago (2017-05-04 01:26:00 UTC) #7
the real yoland
On 2017/05/04 at 01:26:00, jbudorick wrote: > also: do you have more context for this? ...
3 years, 7 months ago (2017-05-04 01:58:04 UTC) #8
jbudorick
On 2017/05/04 01:58:04, the real yoland wrote: > On 2017/05/04 at 01:26:00, jbudorick wrote: > ...
3 years, 7 months ago (2017-05-04 14:59:46 UTC) #9
Paweł Hajdan Jr.
LGTM
3 years, 7 months ago (2017-05-05 17:28:55 UTC) #10
the real yoland
Added Crbug
3 years, 7 months ago (2017-05-09 23:36:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2860673005/20001
3 years, 7 months ago (2017-05-09 23:38:26 UTC) #14
jbudorick
On 2017/05/09 23:36:53, the real yoland wrote: > Added Crbug thanks :) lgtm
3 years, 7 months ago (2017-05-09 23:38:34 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/265741)
3 years, 7 months ago (2017-05-09 23:55:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2860673005/40001
3 years, 7 months ago (2017-05-10 21:05:16 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/433090)
3 years, 7 months ago (2017-05-10 22:08:55 UTC) #28
the real yoland
+rsleevi for net/android/BUILD.gn OWNER stamp
3 years, 7 months ago (2017-05-10 22:11:01 UTC) #30
the real yoland
+pauljensen for OWNER stamp on src/net/android/BUILD.gn
3 years, 7 months ago (2017-05-15 19:01:21 UTC) #32
pauljensen
The assert message and commit description could really use some justification/motivation/explanation, like "...because it will ...
3 years, 7 months ago (2017-05-16 12:05:09 UTC) #33
the real yoland
On 2017/05/16 at 12:05:09, pauljensen wrote: > The assert message and commit description could really ...
3 years, 7 months ago (2017-05-17 23:25:09 UTC) #35
pauljensen
lgtm
3 years, 7 months ago (2017-05-17 23:52:31 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2860673005/60001
3 years, 7 months ago (2017-05-18 00:05:54 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/458424)
3 years, 7 months ago (2017-05-18 02:19:11 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2860673005/60001
3 years, 7 months ago (2017-05-19 18:17:50 UTC) #43
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 21:00:44 UTC) #47
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/508534a90769468c845e0f0438fb...

Powered by Google App Engine
This is Rietveld 408576698