> + } catch (ResourceNotFoundException ex) {
> + // Expected exception
> + } finally {
> + dockerApi.close();
> + server.shutdown();
> + }
> + }
> +
> + public void testPauseContainer() throws Exception {
> + MockWebServer server = mockWebServer();
> + server.enqueue(new MockResponse().setResponseCode(204));
> + DockerApi dockerApi = api(server.getUrl("/"));
> + ContainerApi api = dockerApi.getContainerApi();
> + try {
> + api.pause("1");
> + assertRequestHasCommonFields(server.takeRequest(), "POST",
> "/containers/1/pause");
bad name
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/113/files#r20875370