Skip tests which cannot run on Atmos

This commit is contained in:
Andrew Gaul 2015-01-24 14:08:08 -08:00
parent 3ab2716a7a
commit 7863df69a6
1 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import java.io.IOException;
import org.jclouds.blobstore.domain.BlobMetadata;
import org.jclouds.blobstore.integration.internal.BaseContainerIntegrationTest;
import org.testng.annotations.Test;
import org.testng.SkipException;
@Test(groups = "live")
public class AtmosContainerIntegrationLiveTest extends BaseContainerIntegrationTest {
@ -34,4 +35,19 @@ public class AtmosContainerIntegrationLiveTest extends BaseContainerIntegrationT
// atmos doesn't support MD5
assertEquals(metadata.getContentMetadata().getContentMD5(), null);
}
@Override
public void testDelimiter() throws Exception {
throw new SkipException("Atmos does not use key names for markers");
}
@Override
public void testListMarkerAfterLastKey() throws Exception {
throw new SkipException("cannot specify arbitrary markers");
}
@Override
public void testListContainerWithZeroMaxResults() throws Exception {
throw new SkipException("Atmos requires a positive integer for max results");
}
}