Commit 9d0b9fe7 authored by Ella Ge's avatar Ella Ge Committed by Commit Bot

Disable GCMConnectionHandlerImplTest.RecvMsg on Linux


TBR=dimich@chromium.org

Bug: 906093
Change-Id: Ica264f2a26dc52b1e44c12520b627a3032cbccf2
Reviewed-on: https://chromium-review.googlesource.com/c/1340779Reviewed-by: default avatarElla Ge <eirage@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608873}
parent 590b9926
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "base/test/bind_test_util.h" #include "base/test/bind_test_util.h"
#include "base/test/scoped_task_environment.h" #include "base/test/scoped_task_environment.h"
#include "base/test/test_timeouts.h" #include "base/test/test_timeouts.h"
#include "build/build_config.h"
#include "google/protobuf/io/coded_stream.h" #include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h" #include "google/protobuf/io/zero_copy_stream_impl_lite.h"
#include "google/protobuf/wire_format_lite.h" #include "google/protobuf/wire_format_lite.h"
...@@ -432,7 +433,13 @@ TEST_F(GCMConnectionHandlerImplTest, ReInit) { ...@@ -432,7 +433,13 @@ TEST_F(GCMConnectionHandlerImplTest, ReInit) {
} }
// Verify that messages can be received after initialization. // Verify that messages can be received after initialization.
TEST_F(GCMConnectionHandlerImplTest, RecvMsg) { // Flaky on Linux (crbug.com/906093)
#if defined(OS_LINUX)
#define MAYBE_RecvMsg DISABLED_RecvMsg
#else
#define MAYBE_RecvMsg RecvMsg
#endif
TEST_F(GCMConnectionHandlerImplTest, MAYBE_RecvMsg) {
std::string handshake_request = EncodeHandshakeRequest(); std::string handshake_request = EncodeHandshakeRequest();
WriteList write_list(1, net::MockWrite(net::ASYNC, WriteList write_list(1, net::MockWrite(net::ASYNC,
handshake_request.c_str(), handshake_request.c_str(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment