mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 20:48:06 +01:00
Disallow insertion of duplicate messages.
This commit is contained in:
committed by
Jon Chambers
parent
1ccfe928f7
commit
5e3f8b9c2e
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user