> +
> + @AfterClass(alwaysRun = true)
> + public void testDelete() throws Exception {
> + URI uri = api().delete(resourcegroup);
> + assertNotNull(uri);
> + assertTrue(uri.toString().contains("api-version"));
> + assertTrue(uri.toString().contains("operationresults"));
> +
> + JobStatus status = api.getJobApi().jobStatus(uri);
> + assertEquals(status, JobStatus.IN_PROGRESS);
> + while (status == JobStatus.IN_PROGRESS){
> + status = api.getJobApi().jobStatus(uri);
> + if (status == JobStatus.DONE){
> + break;
> + }
> + }
Added.
---
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/d69ec53fd4b92d8f787d91bb58733c09181e47ac#r58744710