> @@ -36,7 +47,14 @@ private HttpHealthCheckApi api() {
>
> @Test(groups = "live")
> public void testInsertHttpHealthCheck() {
> - assertGlobalOperationDoneSucessfully(api().insert(HTTP_HEALTH_CHECK_NAME), TIME_WAIT);
> + HttpHealthCheckCreationOptions options = new HttpHealthCheckCreationOptions()
nit I prefer to declare HttpHealthCheckCreationOptions as a constant as opposed to making
a bunch of fields that partially describe it. Then just use that constant object in your assertions
below. ex. assertEquals(response.getName(), options.getName());
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/71/files#r19697105
|