mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 06:46:47 +00:00
Fix a need-to-wait-for-async-operation issue in testCacheRemoveQueueScript
This commit is contained in:
1 parent
a2f2fc93b0
commit
115b22cd5c
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@ class MessagesCacheRemoveQueueScriptTest {
|
||||
.setServerGuid(UUID.randomUUID().toString())
|
||||
.build();
|
||||
|
||||
insertScript.executeAsync(destinationUuid, deviceId, envelope1);
|
||||
insertScript.executeAsync(destinationUuid, deviceId, envelope1).toCompletableFuture().join();
|
||||
|
||||
final MessagesCacheRemoveQueueScript removeScript = new MessagesCacheRemoveQueueScript(
|
||||
REDIS_CLUSTER_EXTENSION.getRedisCluster());
|
||||
|
||||
Reference in new issue
Block a user