> +   }
> +
> +   public void testUpdate() throws Exception {
> +      for (String regionId : regions) {
> +         UpdateCDNContainerOptions opts = new UpdateCDNContainerOptions();
> +         opts.ttl(1234567);
> +         opts.logRetention(true);
> +         opts.enabled(false);
> +         
> +         // update the container
> +         assertTrue(api.cdnApiInRegion(regionId).update(name, opts));
> +         
> +         CDNContainer container = api.cdnApiInRegion(regionId).get(name);
> +         assertEquals(container.getTtl(), 1234567);
> +         assertTrue(container.isLogRetentionEnabled());
> +         assertFalse(container.isEnabled());

I rewrote the test!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/85/files#r11136735

Reply via email to