archupsg03 commented on this pull request.


> +      assertEquals(bigObject.getETag(), etagOfEtags);
+      
assertEquals(bigObject.getPayload().getContentMetadata().getContentLength(), 
Long.valueOf(2 * 1024 * 1024));
+      assertEquals(bigObject.getMetadata(), ImmutableMap.of("myfoo", "Bar"));
+
+      // segments are visible
+      
assertEquals(getApi().getContainerApi(regionId).get(containerName).getObjectCount(),
 Long.valueOf(3));
+   }
+
+   protected void assertMegabyteAndETagMatches(String regionId, String 
containerName, String name, String etag1s) {
+      SwiftObject object1s = getApi().getObjectApi(regionId, 
containerName).get(name);
+      assertEquals(object1s.getETag(), etag1s);
+      
assertEquals(object1s.getPayload().getContentMetadata().getContentLength(), 
Long.valueOf(1024 * 1024));
+   }
+
+   protected void deleteAllObjectsInContainerDLO(String regionId, final String 
containerName) {
+      Uninterruptibles.sleepUninterruptibly(10, TimeUnit.SECONDS);

Done

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1105#discussion_r118183909

Reply via email to