mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 23:38:05 +01:00
Add a missing join to testTrimOnFullPrimaryQueue
This commit is contained in:
committed by
ravi-signal
parent
e3160bc717
commit
dbd14481ed
@@ -313,7 +313,7 @@ class MessagePersisterTest {
|
||||
.toList();
|
||||
final long cacheSize = cachedMessages.stream().mapToLong(MessageProtos.Envelope::getSerializedSize).sum();
|
||||
for (MessageProtos.Envelope envelope : cachedMessages) {
|
||||
messagesCache.insert(UUID.fromString(envelope.getServerGuid()), DESTINATION_ACCOUNT_UUID, Device.PRIMARY_ID, envelope);
|
||||
messagesCache.insert(UUID.fromString(envelope.getServerGuid()), DESTINATION_ACCOUNT_UUID, Device.PRIMARY_ID, envelope).join();
|
||||
}
|
||||
|
||||
final long expectedClearedBytes = (long) (cacheSize * EXTRA_ROOM_RATIO);
|
||||
|
||||
Reference in New Issue
Block a user