| Index: ipc/ipc_fuzzing_tests.cc
|
| diff --git a/ipc/ipc_fuzzing_tests.cc b/ipc/ipc_fuzzing_tests.cc
|
| index a45d72599ce57db3be44699fac5009245fb9c748..c9dd4c47f6685201caa9a0599907d338b2189318 100644
|
| --- a/ipc/ipc_fuzzing_tests.cc
|
| +++ b/ipc/ipc_fuzzing_tests.cc
|
| @@ -267,7 +267,7 @@ TEST_F(IPCFuzzingTest, SanityTest) {
|
| &listener);
|
| base::ProcessHandle server_process = SpawnChild(FUZZER_SERVER, &chan);
|
| ASSERT_TRUE(server_process);
|
| - base::PlatformThread::Sleep(1000);
|
| + base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
|
| ASSERT_TRUE(chan.Connect());
|
| listener.Init(&chan);
|
|
|
| @@ -297,7 +297,7 @@ TEST_F(IPCFuzzingTest, MsgBadPayloadShort) {
|
| &listener);
|
| base::ProcessHandle server_process = SpawnChild(FUZZER_SERVER, &chan);
|
| ASSERT_TRUE(server_process);
|
| - base::PlatformThread::Sleep(1000);
|
| + base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
|
| ASSERT_TRUE(chan.Connect());
|
| listener.Init(&chan);
|
|
|
| @@ -327,7 +327,7 @@ TEST_F(IPCFuzzingTest, MsgBadPayloadArgs) {
|
| &listener);
|
| base::ProcessHandle server_process = SpawnChild(FUZZER_SERVER, &chan);
|
| ASSERT_TRUE(server_process);
|
| - base::PlatformThread::Sleep(1000);
|
| + base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
|
| ASSERT_TRUE(chan.Connect());
|
| listener.Init(&chan);
|
|
|
|
|