> +   }
> +
> +   @Test(dependsOnMethods = "testGetNetwork")
> +   public void testAttachContainerToNetwork() {
> +      api().connectContainerToNetwork(network.id(), container.id());
> +      Container foundContainer = 
> api.getContainerApi().inspectContainer(container.id());
> +      
> assertNotNull(Iterables.tryFind(foundContainer.networkSettings().networks().keySet(),
>  Predicates.equalTo(network.name())).orNull());
> +   }
> +
> +   @Test(dependsOnMethods = "testAttachContainerToNetwork")
> +   public void testDisconnectContainerFromNetwork() {
> +      api().disconnectContainerFromNetwork(network.id(), container.id());
> +      // TODO assertion
> +   }
> +
> +   @Test(dependsOnMethods = "testDisconnectContainerFromNetwork")

Make it depend on the `testCreateNetwork` to maximise the chances it is not 
skipped due to a previous test failure.

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

Reply via email to