DescriptionUse a better method to generate a random ID in IvfFileWriterTest.
It was generating a random ID using the test case's "this" pointer
and the current time. However, the current time may be imprecise. And
the "this" pointer may have repeatable values.
BUG=webrtc:5898
Committed: https://crrev.com/55b0b3755421c7b795d78cf5836677078423a27f
Cr-Commit-Position: refs/heads/master@{#13560}
Patch Set 1 #Patch Set 2 : Un-flaking TestSrtpError by using a fake clock. #Patch Set 3 : Reverting last patchset (was meant for another CL) #
Messages
Total messages: 11 (4 generated)
|