The test worked by sleeping a certain time, then checking that the difference between recv timestamps before and after the sleep was within some margin of the requested sleep time. However, this means that imprecision of SleepMs makes the test flaky. This source of flakiness can be removed by comparing to the actual time slept instead of the requested time. Also making the margin larger, to further reduce the likelihood of flakiness. R=pthatcher@webrtc.org, stefan@webrtc.org Review URL: https://codereview.webrtc.org/2111043004 . Cr-Commit-Position: refs/heads/master@{#13733}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.