Compare versioned profiles synchronously; log a subset of mismatches for further investigation

This commit is contained in:
Jon Chambers
2021-11-30 15:07:20 -05:00
committed by Chris Eager
parent 795b226b90
commit d89b4f7e95
6 changed files with 19 additions and 15 deletions

View File

@@ -22,7 +22,6 @@ import io.lettuce.core.cluster.api.sync.RedisAdvancedClusterCommands;
import java.util.Base64;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.Executor;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.whispersystems.textsecuregcm.configuration.dynamic.DynamicConfiguration;
@@ -63,8 +62,7 @@ public class ProfilesManagerTest {
profilesManager = new ProfilesManager(profiles,
mock(ProfilesDynamoDb.class),
cacheCluster,
dynamicConfigurationManager,
mock(Executor.class));
dynamicConfigurationManager);
}
@Test