mirror of https://github.com/apache/jclouds.git
JCLOUDS-1125: Add missing expected exception
This commit is contained in:
parent
6df0472ab5
commit
fff12293f9
|
@ -17,6 +17,7 @@
|
|||
package org.jclouds.openstack.swift.v1.blobstore.integration;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown;
|
||||
import static org.jclouds.openstack.keystone.v2_0.config.KeystoneProperties.CREDENTIAL_TYPE;
|
||||
|
||||
import java.util.Properties;
|
||||
|
@ -116,6 +117,7 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||
public void testListMultipartUploads() throws Exception {
|
||||
try {
|
||||
super.testListMultipartUploads();
|
||||
failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
|
||||
} catch (UnsupportedOperationException uoe) {
|
||||
throw new SkipException("Swift does not support listing multipart uploads", uoe);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue