pc: Disable flaky unit test on Android The DataChannelIntegrationTest.SomeQueuedPacketsGetDroppedInMaxRetransmitsMode test is flaky on Android. Bug: None Change-Id: Ia72081905368e405441d5518b53d03e60fac233b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250120 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Victor Boivie <boivie@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35868}
diff --git a/pc/data_channel_integrationtest.cc b/pc/data_channel_integrationtest.cc index 47ea74a..c70078b 100644 --- a/pc/data_channel_integrationtest.cc +++ b/pc/data_channel_integrationtest.cc
@@ -37,6 +37,13 @@ // 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<SdpSemantics, std::string>> { @@ -704,7 +711,7 @@ } TEST_P(DataChannelIntegrationTest, - SomeQueuedPacketsGetDroppedInMaxRetransmitsMode) { + DISABLED_ON_ANDROID(SomeQueuedPacketsGetDroppedInMaxRetransmitsMode)) { CreatePeerConnectionWrappers(); ConnectFakeSignaling(); DataChannelInit init;