Index: ipc/ipc_fuzzing_tests.cc |
diff --git a/ipc/ipc_fuzzing_tests.cc b/ipc/ipc_fuzzing_tests.cc |
index 34394bf8ec0e87e4dd551ef5068bfa49b55f6f2f..4c3e9c9673f072c584ff1738c0a417cea3022157 100644 |
--- a/ipc/ipc_fuzzing_tests.cc |
+++ b/ipc/ipc_fuzzing_tests.cc |
@@ -282,7 +282,8 @@ TEST_F(IPCFuzzingTest, SanityTest) { |
chan.Send(msg); |
EXPECT_TRUE(listener.ExpectMessage(value, MsgClassSI::ID)); |
- EXPECT_TRUE(base::WaitForSingleProcess(server_process, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ server_process, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(server_process); |
} |
@@ -312,7 +313,8 @@ TEST_F(IPCFuzzingTest, MsgBadPayloadShort) { |
chan.Send(msg); |
EXPECT_TRUE(listener.ExpectMessage(1, MsgClassSI::ID)); |
- EXPECT_TRUE(base::WaitForSingleProcess(server_process, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ server_process, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(server_process); |
} |
#endif |
@@ -347,7 +349,8 @@ TEST_F(IPCFuzzingTest, MsgBadPayloadArgs) { |
chan.Send(msg); |
EXPECT_TRUE(listener.ExpectMessage(3, MsgClassIS::ID)); |
- EXPECT_TRUE(base::WaitForSingleProcess(server_process, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ server_process, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(server_process); |
} |