Skip expires tests when backend lacks support

pull/124/head
Andrew Gaul 2016-02-03 23:12:26 -08:00
rodzic 977854f264
commit 997dc9707c
2 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -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",

Wyświetl plik

@ -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();
}
}