JCLOUDS-1125: Add missing expected exception

This commit is contained in:
Andrew Gaul 2016-06-23 23:06:13 -07:00
parent 6df0472ab5
commit fff12293f9
1 changed files with 2 additions and 0 deletions

View File

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