Skip to content

Commit

Permalink
Reduce the timeout based on new setting
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Mar 28, 2024
1 parent 26b5624 commit be2d7fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void onUploadFailed(TransferSnapshot transferSnapshot, Exception ex) {

public void testTransferSnapshotOnUploadTimeout() throws Exception {
doAnswer(invocationOnMock -> {
Thread.sleep(31 * 1000);
Thread.sleep(5);
return null;
}).when(transferService).uploadBlobs(anySet(), anyMap(), any(ActionListener.class), any(WritePriority.class));
FileTransferTracker fileTransferTracker = new FileTransferTracker(
Expand Down

0 comments on commit be2d7fd

Please sign in to comment.