Skip to content

Commit

Permalink
Merge pull request #747 from mziccard/master
Browse files Browse the repository at this point in the history
Fix flaky RemoteGcsHelperTest.testForceDeleteTimeout
  • Loading branch information
aozarov committed Mar 14, 2016
2 parents 9e5c173 + 86e23d5 commit 646f3c9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public void testForceDelete() throws InterruptedException, ExecutionException {
@Test
public void testForceDeleteTimeout() throws InterruptedException, ExecutionException {
Storage storageMock = EasyMock.createMock(Storage.class);
EasyMock.expect(storageMock.list(BUCKET_NAME)).andReturn(blobPage).anyTimes();
EasyMock.expect(storageMock.list(BUCKET_NAME, BlobListOption.versions(true)))
.andReturn(blobPage).anyTimes();
for (BlobInfo info : blobList) {
EasyMock.expect(storageMock.delete(info.blobId())).andReturn(true).anyTimes();
}
Expand Down

0 comments on commit 646f3c9

Please sign in to comment.