Index: ipc/ipc_tests.cc |
diff --git a/ipc/ipc_tests.cc b/ipc/ipc_tests.cc |
index 5b23fa6de844a8ef5f667243c521f30f096ae89a..cecbf45f574e4b272ea05fed5ed4f78e25731812 100644 |
--- a/ipc/ipc_tests.cc |
+++ b/ipc/ipc_tests.cc |
@@ -238,7 +238,8 @@ TEST_F(IPCChannelTest, ChannelTest) { |
chan.Close(); |
// Cleanup child process. |
- EXPECT_TRUE(base::WaitForSingleProcess(process_handle, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ process_handle, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(process_handle); |
} |
@@ -278,7 +279,8 @@ TEST_F(IPCChannelTest, ChannelTestExistingPipe) { |
chan.Close(); |
// Cleanup child process. |
- EXPECT_TRUE(base::WaitForSingleProcess(process_handle, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ process_handle, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(process_handle); |
} |
#endif // defined (OS_WIN) |
@@ -323,7 +325,8 @@ TEST_F(IPCChannelTest, ChannelProxyTest) { |
MessageLoop::current()->Run(); |
// cleanup child process |
- EXPECT_TRUE(base::WaitForSingleProcess(process_handle, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ process_handle, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(process_handle); |
} |
thread.Stop(); |
@@ -399,7 +402,8 @@ TEST_F(IPCChannelTest, MAYBE_SendMessageInChannelConnected) { |
channel.Close(); |
// Cleanup child process. |
- EXPECT_TRUE(base::WaitForSingleProcess(process_handle, 5000)); |
+ EXPECT_TRUE(base::WaitForSingleProcess( |
+ process_handle, base::TimeDelta::FromSeconds(5))); |
base::CloseProcessHandle(process_handle); |
} |