Disallow insertion of duplicate messages.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-10-04 15:34:14 -04:00
1 parent 1ccfe928f7
commit 5e3f8b9c2e
2 files changed
+6

No files matched your search

@@ -6,6 +6,7 @@ import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.whispersystems.textsecuregcm.entities.MessageProtos;
@@ -84,6 +85,7 @@ public class MessagesCacheTest extends AbstractRedisClusterTest {
}
@Test
@Ignore("Depends on incorrect duplicate-insert behavior that has since been fixed")
public void testRepairMetadata() {
final int distinctUuidCount = 17;