From 4f8aa2eee2f867022a9288ac6d6272e823cea01f Mon Sep 17 00:00:00 2001 From: Chris Eager Date: Thu, 17 Nov 2022 13:15:42 -0600 Subject: [PATCH] Mark flaky test `@Disabled` --- .../whispersystems/textsecuregcm/storage/MessagesCacheTest.java | 2 ++ 1 file changed, 2 insertions(+) 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