> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "GET", requestUrl + "/jcloudstest" + version);
> +   }
> +
> +   public void testGetResourceGroupReturns404() throws InterruptedException {
> +      server.enqueue(response404());
> +
> +      ResourceGroup resourceGroup = 
> api.getResourceGroupApi(subscriptionid).get("jcloudstest");
> +
> +      assertNull(resourceGroup);
> +
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "GET", requestUrl + "/jcloudstest" + version);
> +   }
> +
> +   // Commenting this out due to this error during CI run: Command not 
> considered safe to retry because request method is PATCH

Thanks for the feedback @nacx! Question, how come the mock tests and live tests 
all work for PATCH when I run this locally when the default java driver does 
not support PATCH? What is a good way to test this locally to ensure this is 
really using OkHttp instead of the default java driver? 

---
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/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57583208

Reply via email to