kopia lustrzana https://github.com/gaul/s3proxy
Skip expires tests when backend lacks support
rodzic
977854f264
commit
997dc9707c
|
@ -44,6 +44,10 @@ final class Quirks {
|
|||
"openstack-swift"
|
||||
);
|
||||
|
||||
static final Set<String> NO_EXPIRES = ImmutableSet.of(
|
||||
"azureblob"
|
||||
);
|
||||
|
||||
/** Blobstores which do not allow listing zero keys. */
|
||||
static final Set<String> NO_LIST_ZERO_KEYS = ImmutableSet.of(
|
||||
"atmos",
|
||||
|
|
|
@ -97,4 +97,12 @@ public final class JcloudsS3BlobIntegrationLiveTest
|
|||
}
|
||||
super.testPutBlobAccessMultipart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void testCreateBlobWithExpiry() throws InterruptedException {
|
||||
if (Quirks.NO_EXPIRES.contains(blobStoreType)) {
|
||||
throw new SkipException("blob access control not supported");
|
||||
}
|
||||
super.testCreateBlobWithExpiry();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue