Closed
Bug 1194019
Opened 8 years ago
Closed 8 years ago
ice_unittest IceGatherTest gathers TCP for UDP tests
Categories
(Core :: WebRTC: Networking, defect, P2)
Core
WebRTC: Networking
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
backlog | webrtc/webaudio+ |
People
(Reporter: drno, Assigned: drno)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It appears that the default on having ICE TCP on results in the very first test TestGatherFakeStunServerHostnameNoResolver to do TCP. But flipping the default to disabled only makes that first test skip TCP. Once test TestGatherFakeStunServerTcpHostnameNoResolver ran all subsequent tests seem to have TCP enabled (enough not requested).
Comment 1•8 years ago
|
||
Is this fixed by https://hg.mozilla.org/integration/mozilla-inbound/diff/4f0f45233e6b/media/mtransport/test/stunserver.cpp
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Eric Rescorla (:ekr) from comment #1) > Is this fixed by > > https://hg.mozilla.org/integration/mozilla-inbound/diff/4f0f45233e6b/media/ > mtransport/test/stunserver.cpp Not for me :-(
Assignee | ||
Comment 3•8 years ago
|
||
Bug 1194019: new defaults for gather tests. r?bwc
Attachment #8648307 -
Flags: review?(docfaraday)
Assignee | ||
Updated•8 years ago
|
Summary: ice_unittest gathers TCP for UDP tests → ice_unittest IceGatherTest gathers TCP for UDP tests
Updated•8 years ago
|
Attachment #8648307 -
Flags: review?(docfaraday) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8648307 [details] MozReview Request: Bug 1194019: new defaults for gather tests. r?bwc https://reviewboard.mozilla.org/r/16185/#review14529 ::: media/mtransport/test/ice_unittest.cpp:805 (Diff revision 1) > - std::cerr << "Candidate initialized: " << candidate << std::endl; > + std::cerr << "Candidate for stream " << stream->name() << " initialized: " << candidate << std::endl; Line wrap. ::: media/mtransport/test/ice_unittest.cpp:1151 (Diff revision 1) > - void EnsurePeer() { > + void EnsurePeer(bool tcp_enabled = false) { I would recommend either passing an enum/flag here (eg; kEnableIceTcp) for readability. We're already moving in that direction for this stuff in bug 1193437. ::: media/mtransport/test/ice_unittest.cpp:1153 (Diff revision 1) > - peer_ = new IceTestPeer("P1", true, false); > + peer_ = new IceTestPeer("P1", true, false, false, tcp_enabled, false, false); Line wrap (I think, reviewboard wraps before 80 but not by much).
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8648307 [details] MozReview Request: Bug 1194019: new defaults for gather tests. r?bwc Bug 1194019: new defaults for gather tests. r?bwc
Assignee | ||
Comment 6•8 years ago
|
||
https://reviewboard.mozilla.org/r/16185/#review14529 > I would recommend either passing an enum/flag here (eg; kEnableIceTcp) for readability. We're already moving in that direction for this stuff in bug 1193437. I think an enum would not work here as we sometimes enable multiple features. That's why I went with a bitmask.
Comment 7•8 years ago
|
||
https://reviewboard.mozilla.org/r/16185/#review14567 Ship It!
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → drno
Updated•8 years ago
|
backlog: --- → webrtc/webaudio+
Rank: 25
Priority: -- → P2
Comment 10•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af522ac9fd4d
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•