summaryrefslogtreecommitdiffstats
path: root/mojo/system/multiprocess_message_pipe_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/system/multiprocess_message_pipe_unittest.cc')
-rw-r--r--mojo/system/multiprocess_message_pipe_unittest.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/mojo/system/multiprocess_message_pipe_unittest.cc b/mojo/system/multiprocess_message_pipe_unittest.cc
index d4b8faf..ced07df 100644
--- a/mojo/system/multiprocess_message_pipe_unittest.cc
+++ b/mojo/system/multiprocess_message_pipe_unittest.cc
@@ -215,7 +215,13 @@ TEST_F(MultiprocessMessagePipeTest, Basic) {
// Sends a bunch of messages to the child. Expects them "repeated" back. Waits
// for the child to close its end before quitting.
-TEST_F(MultiprocessMessagePipeTest, QueueMessages) {
+// TODO(yzshen): The test hangs on Mac. http://crbug.com/350575
+#if defined(OS_MACOSX)
+#define MAYBE_QueueMessages DISABLED_QueueMessages
+#else
+#define MAYBE_QueueMessages QueueMessages
+#endif
+TEST_F(MultiprocessMessagePipeTest, MAYBE_QueueMessages) {
helper()->StartChild("EchoEcho");
scoped_refptr<MessagePipe> mp(new MessagePipe(