> + }
> +
> + @Test
> + public void testDetachServer404() throws InterruptedException {
> + server.enqueue(
> + new MockResponse().setResponseCode(404)
> + );
> + SharedStorage response =
> sharedStorageApi().detachServer("sharedStorageId", "serverId");
> +
> + assertEquals(response, null);
> + assertEquals(server.getRequestCount(), 1);
> + assertSent(server, "DELETE",
> "/shared_storages/sharedStorageId/servers/serverId");
> + }
> +
> + @Test
> + public void testListAccessCredentials() throws InterruptedException {
Add the fallback test for this too.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/304/files/b4ecd2bdfe26ff68d6dd6c9e03a4de2e3eba3fe2#r72954115