Changeset 222616 in webkit
- Timestamp:
- Sep 28, 2017 10:56:16 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r222613 r222616 1 2017-09-28 Youenn Fablet <youenn@apple.com> 2 3 [mac-wk1] Layout test webrtc/datachannel/bufferedAmountLowThreshold tests are flaky 4 https://bugs.webkit.org/show_bug.cgi?id=177462 5 6 Reviewed by Alex Christensen. 7 8 * webrtc/datachannel/bufferedAmountLowThreshold-default.html: Filling buffer until bufferedAmount is bug enough to trigger bufferedAmountLow event. 9 * webrtc/datachannel/bufferedAmountLowThreshold-expected.txt: 10 * webrtc/datachannel/bufferedAmountLowThreshold.html: Removing test that is inherently flaky on bots that are not fast enough 11 to continue filling the webrtc data channel buffer. 12 1 13 2017-09-28 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/LayoutTests/webrtc/datachannel/bufferedAmountLowThreshold-default.html
r218795 r222616 29 29 function sendMessages(channel) 30 30 { 31 channel.send(longString); 32 channel.send(longString); 33 channel.send(longString); 31 while(channel.bufferedAmount < 1000) 32 channel.send(longString); 34 33 } 35 34 -
trunk/LayoutTests/webrtc/datachannel/bufferedAmountLowThreshold-expected.txt
r218795 r222616 1 1 2 2 PASS Large buffer threshold reached 3 PASS Medium buffer threshold not reached4 3 -
trunk/LayoutTests/webrtc/datachannel/bufferedAmountLowThreshold.html
r218795 r222616 67 67 }); 68 68 }, "Large buffer threshold reached"); 69 70 promise_test((test) => {71 counter = 0;72 var gotEvent = false;73 return new Promise((resolve, reject) => {74 createConnections((localConnection) => {75 localChannel = localConnection.createDataChannel('sendDataChannel');76 localChannel.onopen = () => {77 sendContinuouslyMessages(localChannel);78 localChannel.onbufferedamountlow = () => {79 reject();80 }81 };82 localChannel.bufferedAmountLowThreshold = 10;83 }, (remoteConnection) => {84 remoteConnection.ondatachannel = (event) => {85 remoteChannel = event.channel;86 remoteChannel.onmessage = receiveMessages;87 };88 });89 setTimeout(resolve, 50);90 });91 }, "Medium buffer threshold not reached");92 69 </script> 93 70 </body>
Note: See TracChangeset
for help on using the changeset viewer.