JCLOUDS-1125: GCS list multipart uploads

Not supported.
This commit is contained in:
Andrew Gaul 2016-06-13 16:34:20 -07:00
parent ae1f6d0c3f
commit 5baa49d9b8
2 changed files with 14 additions and 0 deletions

View File

@ -440,6 +440,11 @@ public final class GoogleCloudStorageBlobStore extends BaseBlobStore {
return parts.build();
}
@Override
public List<MultipartUpload> listMultipartUploads(String container) {
throw new UnsupportedOperationException("not supported");
}
@Override
public long getMinimumMultipartPartSize() {
return 5L * 1024L * 1024L;

View File

@ -312,4 +312,13 @@ public class GoogleCloudStorageBlobIntegrationLiveTest extends BaseBlobIntegrati
public void testCopyIfUnmodifiedSinceNegative() throws Exception {
super.testCopyIfUnmodifiedSince();
}
@Override
public void testListMultipartUploads() throws Exception {
try {
super.testListMultipartUploads();
} catch (UnsupportedOperationException uoe) {
throw new SkipException("GCS does not support listing multipart uploads", uoe);
}
}
}