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}
This commit is contained in:
Victor Boivie
2022-02-01 11:26:05 +01:00
committed by WebRTC LUCI CQ
parent 13b62c28de
commit fe968dff86

View File

@ -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<SdpSemantics, std::string>> {
@ -704,7 +711,7 @@ TEST_P(DataChannelIntegrationTest,
}
TEST_P(DataChannelIntegrationTest,
SomeQueuedPacketsGetDroppedInMaxRetransmitsMode) {
DISABLED_ON_ANDROID(SomeQueuedPacketsGetDroppedInMaxRetransmitsMode)) {
CreatePeerConnectionWrappers();
ConnectFakeSignaling();
DataChannelInit init;