Closed
Bug 976182
Opened 10 years ago
Closed 10 years ago
ICE connection Mochitest can result in test timeout
Categories
(Core :: WebRTC: Networking, defect)
Core
WebRTC: Networking
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: drno, Assigned: drno)
Details
Attachments
(1 file, 1 obsolete file)
5.45 KB,
patch
|
bwc
:
review+
|
Details | Diff | Splinter Review |
The new ICE connection tests in media/dom/tests/mochitest can block further test execution if the initial connection state is in "failed" already.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → drno
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=20e75f203d37
Assignee | ||
Updated•10 years ago
|
Attachment #8380786 -
Flags: review?(docfaraday)
Comment 3•10 years ago
|
||
Comment on attachment 8380786 [details] [diff] [review] ice_connection_state_failed.patch Review of attachment 8380786 [details] [diff] [review]: ----------------------------------------------------------------- This will do the job, although it will break if we start returning stuff like "disconnected" or "closed" someday. We could bail if we aren't in either "new" or "checking" instead. Or we could leave a note or something. Up to you. ::: dom/media/tests/mochitest/pc.js @@ +1467,5 @@ > > /** > + * Returns if the ICE the connection state is "failed". > + * > + * @returns {boolean} True is the connection state is "failed", otherwise false. Minor typo, s/is/if/. Seems to show up other places.
Attachment #8380786 -
Flags: review?(docfaraday) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8380786 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
This patch should address bwc's concerns about the ICE states as well as the NITs in the comments.
Attachment #8385024 -
Flags: review?(docfaraday)
Assignee | ||
Comment 5•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=06ec8f674547
Comment 6•10 years ago
|
||
Comment on attachment 8385024 [details] [diff] [review] ice_connection_state_failed.patch Review of attachment 8385024 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me.
Attachment #8385024 -
Flags: review?(docfaraday) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4246950b826f
Flags: in-testsuite+
Keywords: checkin-needed
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4246950b826f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•