mirror of https://github.com/apache/jclouds.git
Make cloudfiles live tests more stable by making them single threaded
This commit is contained in:
parent
59fc23249f
commit
8439c7238d
|
@ -16,6 +16,8 @@
|
|||
*/
|
||||
package org.jclouds.cloudfiles.blobstore.integration;
|
||||
|
||||
import static org.testng.Assert.assertEquals;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.jclouds.blobstore.BlobStore;
|
||||
|
@ -23,14 +25,12 @@ import org.jclouds.blobstore.domain.Blob;
|
|||
import org.jclouds.openstack.swift.blobstore.integration.SwiftBlobIntegrationLiveTest;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import static org.testng.Assert.assertEquals;
|
||||
|
||||
@Test(groups = "live")
|
||||
@Test(groups = "live", singleThreaded = true)
|
||||
public class CloudFilesBlobIntegrationLiveTest extends SwiftBlobIntegrationLiveTest {
|
||||
public CloudFilesBlobIntegrationLiveTest() {
|
||||
provider = "cloudfiles";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void checkContentDisposition(Blob blob, String contentDisposition) {
|
||||
assert blob.getPayload().getContentMetadata().getContentDisposition().startsWith(contentDisposition) : blob
|
||||
|
|
Loading…
Reference in New Issue