diff --git a/pc/data_channel_integrationtest.cc b/pc/data_channel_integrationtest.cc index 47ea74a4b2..c70078b0df 100644 --- a/pc/data_channel_integrationtest.cc +++ b/pc/data_channel_integrationtest.cc @@ -37,6 +37,13 @@ namespace { // All tests in this file require SCTP support. #ifdef WEBRTC_HAVE_SCTP +#if defined(WEBRTC_ANDROID) +// Disable heavy tests running on low-end Android devices. +#define DISABLED_ON_ANDROID(t) DISABLED_##t +#else +#define DISABLED_ON_ANDROID(t) t +#endif + class DataChannelIntegrationTest : public PeerConnectionIntegrationBaseTest, public ::testing::WithParamInterface< std::tuple> { @@ -704,7 +711,7 @@ TEST_P(DataChannelIntegrationTest, } TEST_P(DataChannelIntegrationTest, - SomeQueuedPacketsGetDroppedInMaxRetransmitsMode) { + DISABLED_ON_ANDROID(SomeQueuedPacketsGetDroppedInMaxRetransmitsMode)) { CreatePeerConnectionWrappers(); ConnectFakeSignaling(); DataChannelInit init;