diff options
-rw-r--r-- | chrome/chrome.xcodeproj/project.pbxproj | 2 | ||||
-rw-r--r-- | chrome/common/ipc_fuzzing_tests.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/chrome.xcodeproj/project.pbxproj b/chrome/chrome.xcodeproj/project.pbxproj index c685800..ff6b45c 100644 --- a/chrome/chrome.xcodeproj/project.pbxproj +++ b/chrome/chrome.xcodeproj/project.pbxproj @@ -3698,7 +3698,7 @@ E4F325990EE837BF002533CE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - PRODUCT_NAME = run_unit_tests; + PRODUCT_NAME = run_ipc_tests; }; name = Release; }; diff --git a/chrome/common/ipc_fuzzing_tests.cc b/chrome/common/ipc_fuzzing_tests.cc index 9a825c9..cec05fb 100644 --- a/chrome/common/ipc_fuzzing_tests.cc +++ b/chrome/common/ipc_fuzzing_tests.cc @@ -314,7 +314,7 @@ TEST_F(IPCFuzzingTest, SanityTest) { TEST_F(IPCFuzzingTest, MsgBadPayloadShort) { base::ProcessHandle server_process = SpawnChild(FUZZER_SERVER); ASSERT_TRUE(server_process); - ::Sleep(1000); + PlatformThread::Sleep(1000); FuzzerClientListener listener; IPC::Channel chan(kFuzzerChannel, IPC::Channel::MODE_CLIENT, &listener); @@ -331,7 +331,7 @@ TEST_F(IPCFuzzingTest, MsgBadPayloadShort) { chan.Send(msg); EXPECT_TRUE(listener.ExpectMessage(1, MsgClassSI::ID)); - ASSERT_EQ(WAIT_OBJECT_0, ::WaitForSingleObject(server_process, 5000)); + EXPECT_TRUE(base::WaitForSingleProcess(server_process, 5000)); } #endif // NDEBUG |