mirror of https://github.com/apache/jclouds.git
Skip ACL tests on GCS
These tests use request signing which GCS does not currently support.
This commit is contained in:
parent
10318ed777
commit
9c05604e99
|
@ -29,6 +29,7 @@ import java.util.Properties;
|
|||
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import org.assertj.core.api.Fail;
|
||||
import org.jclouds.blobstore.BlobStore;
|
||||
import org.jclouds.blobstore.domain.Blob;
|
||||
import org.jclouds.blobstore.domain.BlobBuilder.PayloadBlobBuilder;
|
||||
|
@ -257,4 +258,14 @@ public class GoogleCloudStorageBlobIntegrationLiveTest extends BaseBlobIntegrati
|
|||
public void deleteObject(String name) throws InterruptedException {
|
||||
super.deleteObject(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void testSetBlobAccess() throws Exception {
|
||||
try {
|
||||
super.testSetBlobAccess();
|
||||
Fail.failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
|
||||
} catch (UnsupportedOperationException uoe) {
|
||||
throw new SkipException("request signing not supported on GCS", uoe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ import java.util.Properties;
|
|||
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import org.assertj.core.api.Fail;
|
||||
import org.jclouds.blobstore.domain.BlobMetadata;
|
||||
import org.jclouds.blobstore.domain.PageSet;
|
||||
import org.jclouds.blobstore.domain.StorageMetadata;
|
||||
|
@ -87,4 +88,14 @@ public class GoogleCloudStorageContainerIntegrationLiveTest extends BaseContaine
|
|||
public void testListMarkerAfterLastKey() throws Exception {
|
||||
throw new SkipException("cannot specify arbitrary markers");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void testSetContainerAccess() throws Exception {
|
||||
try {
|
||||
super.testSetContainerAccess();
|
||||
Fail.failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
|
||||
} catch (UnsupportedOperationException uoe) {
|
||||
throw new SkipException("request signing not supported on GCS", uoe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue