mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 04:46:47 +00:00
Wait for test message insertion to complete before attempting to read
This commit is contained in:
1 parent
fac7dbbeb7
commit
5774ffdeab
1 file changed
+1
-1
+1
-1
@@ -44,7 +44,7 @@ class MessagesCacheGetItemsScriptTest {
|
||||
.setServerGuid(serverGuid)
|
||||
.build();
|
||||
|
||||
insertScript.executeAsync(destinationUuid, deviceId, envelope1);
|
||||
insertScript.executeAsync(destinationUuid, deviceId, envelope1).toCompletableFuture().join();
|
||||
|
||||
final MessagesCacheGetItemsScript getItemsScript = new MessagesCacheGetItemsScript(
|
||||
REDIS_CLUSTER_EXTENSION.getRedisCluster());
|
||||
|
||||
Reference in new issue
Block a user