> +         String stackName = getName();
> +         CreateStack createStack = 
> CreateStack.builder().name(stackName).templateUrl(TEMPLATE_URL).build();
> +         Stack stack = stackApi.create(createStack);
> +         assertThat(stack).isNotNull();
> +         assertThat(stack.getId()).isNotEmpty();
> +         assertThat(stackApi.delete(stackName, stack.getId())).isTrue();
> +         Stack stackAfterDelete = stackApi.get(stackName, stack.getId());
> +         assertThat(stackAfterDelete).isNotNull();
> +      }
> +   }
> +
> +   public void testCreateWithDisableRollback() {
> +      for (String region : api.getConfiguredRegions()) {
> +         StackApi stackApi = api.getStackApi(region);
> +         CreateStack createStack = 
> CreateStack.builder().name(getName()).templateUrl(TEMPLATE_URL).disableRollback(false).build();
> +         Stack stack = stackApi.create(createStack);

Several tests create stacks but don't take care of deleting them. Add an 
`afterClass` method or a proper clenaup in each test to avoid leaking resources 
after running the live tests.

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

Reply via email to