Repository: jclouds
Updated Branches:
  refs/heads/master d29070541 -> ee89c253b


Missing cleanup was causing testReplaceManifest to fail


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/ee89c253
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/ee89c253
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/ee89c253

Branch: refs/heads/master
Commit: ee89c253b37d9a5809736abf17c11e7c471b2f76
Parents: d290705
Author: Zack Shoylev <[email protected]>
Authored: Mon Nov 14 16:52:47 2016 -0600
Committer: Zack Shoylev <[email protected]>
Committed: Tue Nov 15 11:21:25 2016 -0600

----------------------------------------------------------------------
 .../swift/v1/features/StaticLargeObjectApiLiveTest.java          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/ee89c253/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java
----------------------------------------------------------------------
diff --git 
a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java
 
b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java
index b4820c3..9daa5d0 100644
--- 
a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java
+++ 
b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java
@@ -39,7 +39,7 @@ import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.io.ByteSource;
 
-@Test(groups = "live", testName = "StaticLargeObjectApiLiveTest")
+@Test(groups = "live", testName = "StaticLargeObjectApiLiveTest", 
singleThreaded = true)
 public class StaticLargeObjectApiLiveTest extends 
BaseSwiftApiLiveTest<SwiftApi> {
 
    private String name = getClass().getSimpleName();
@@ -57,6 +57,7 @@ public class StaticLargeObjectApiLiveTest extends 
BaseSwiftApiLiveTest<SwiftApi>
       }
    }
 
+   @Test
    public void testReplaceManifest() throws Exception {
       for (String regionId : regions) {
          ObjectApi objectApi = api.getObjectApi(regionId, containerName);
@@ -117,6 +118,7 @@ public class StaticLargeObjectApiLiveTest extends 
BaseSwiftApiLiveTest<SwiftApi>
          assertThat(resp.deleted()).isZero();
          assertThat(resp.notFound()).isZero();
          assertThat(resp.errors()).hasSize(1);
+         api.getObjectApi(regionId, containerName).delete(objectName);
       }
    }
 

Reply via email to