diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheTest.java index b4cb88b7a..1a981d513 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheTest.java @@ -51,6 +51,7 @@ import java.util.stream.Collectors; import org.apache.commons.lang3.RandomStringUtils; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; @@ -568,6 +569,7 @@ class MessagesCacheTest { } @Test + @Disabled("flaky test") void testGetAllMessagesLimitsAndBackpressure() { // this test makes sure that we don’t fetch and buffer all messages from the cache when the publisher // is subscribed. Rather, we should be fetching in pages to satisfy downstream requests, so that memory usage