> + }
> +
> + 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());
We're testing an update but verifying that now of the values change? I guess
that's the intention, but then perhaps rename the test?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/85/files#r10955929