mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 07:46:47 +00:00
Fix incorrect mockito matcher in BackupManagerTest
This commit is contained in:
1 parent
569f4f31e8
commit
9505e7b1a1
1 file changed
+2
-2
+2
-2
@@ -470,9 +470,9 @@ public class BackupManagerTest {
|
||||
|
||||
final int slowIndex = backupConfiguration.usageCheckpointCount() - 1;
|
||||
final CompletableFuture<Void> slow = new CompletableFuture<>();
|
||||
when(remoteStorageManager.copy(eq(3), anyString(), eq(100), any(), anyString()))
|
||||
when(remoteStorageManager.copy(eq(3), anyString(), eq(100L), any(), anyString()))
|
||||
.thenReturn(CompletableFuture.completedFuture(null));
|
||||
when(remoteStorageManager.copy(eq(3), eq(sourceKeys.get(slowIndex)), eq(100), any(), anyString()))
|
||||
when(remoteStorageManager.copy(eq(3), eq(sourceKeys.get(slowIndex)), eq(100L), any(), anyString()))
|
||||
.thenReturn(slow);
|
||||
final ArrayBlockingQueue<CopyResult> copyResults = new ArrayBlockingQueue<>(100);
|
||||
final CompletableFuture<Void> future = backupManager
|
||||
|
||||
Reference in new issue
Block a user