Update ProcessCallAfterXms to better match the performance of our faster bots. Previously I had made sure these tests didn't flake out on our slow trybots, but apparently I need to do the same for the fast bots :)

TBR=bjornv@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/40659004

Cr-Commit-Position: refs/heads/master@{#8262}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8262 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tommi@webrtc.org 2015-02-06 11:28:11 +00:00
parent 0c3e12b7bf
commit bc3241a8cc

View File

@ -139,7 +139,8 @@ void ProcessCallAfterAFewMs(int64_t milliseconds) {
EXPECT_CALL(module, Process())
.WillOnce(DoAll(SetTimestamp(&called_time),
SetEvent(event.get()),
Return(0)));
Return(0)))
.WillRepeatedly(Return(0));
EXPECT_EQ(0, thread.RegisterModule(&module));