diff --git a/webrtc/modules/utility/source/process_thread_impl_unittest.cc b/webrtc/modules/utility/source/process_thread_impl_unittest.cc index 883554151..c61eae9bc 100644 --- a/webrtc/modules/utility/source/process_thread_impl_unittest.cc +++ b/webrtc/modules/utility/source/process_thread_impl_unittest.cc @@ -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));