| Index: mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| diff --git a/mojo/edk/system/multiprocess_message_pipe_unittest.cc b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| index 4abac127502956be6961f875caf92136db9e6d99..4bb3f13335e720c9bd59a1c9591d628dcee20a64 100644
|
| --- a/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| +++ b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| @@ -166,12 +166,6 @@ TEST_F(MultiprocessMessagePipeTest, MAYBE_QueueMessages) {
|
| nullptr, 0u, MOJO_WRITE_MESSAGE_FLAG_NONE));
|
| }
|
|
|
| - const std::string quitquitquit("quitquitquit");
|
| - ASSERT_EQ(MOJO_RESULT_OK,
|
| - MojoWriteMessage(mp.get().value(), quitquitquit.data(),
|
| - static_cast<uint32_t>(quitquitquit.size()),
|
| - nullptr, 0u, MOJO_WRITE_MESSAGE_FLAG_NONE));
|
| -
|
| for (size_t i = 0; i < kNumMessages; i++) {
|
| HandleSignalsState hss;
|
| ASSERT_EQ(MOJO_RESULT_OK,
|
| @@ -194,6 +188,12 @@ TEST_F(MultiprocessMessagePipeTest, MAYBE_QueueMessages) {
|
| ASSERT_EQ(std::string(i * 2, 'A' + (i % 26)), read_buffer);
|
| }
|
|
|
| + const std::string quitquitquit("quitquitquit");
|
| + ASSERT_EQ(MOJO_RESULT_OK,
|
| + MojoWriteMessage(mp.get().value(), quitquitquit.data(),
|
| + static_cast<uint32_t>(quitquitquit.size()),
|
| + nullptr, 0u, MOJO_WRITE_MESSAGE_FLAG_NONE));
|
| +
|
| // Wait for it to become readable, which should fail (since we sent
|
| // "quitquitquit").
|
| HandleSignalsState hss;
|
|
|