mirror of
https://github.com/signalapp/Signal-Server
synced 2026-07-09 03:13:46 +01:00
Wait for test message insertion to complete before attempting to read
This commit is contained in:
committed by
Jon Chambers
parent
fac7dbbeb7
commit
5774ffdeab
+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