> @@ -36,6 +42,21 @@ public GoogleComputeEngineServiceLiveTest() {
> provider = "google-compute-engine";
> }
>
> + @Override
> + protected Properties setupProperties() {
> + Properties props = super.setupProperties();
> + setCredentialFromPemFile(props, provider + ".credential");
> + return props;
> + }
> +
> + @Test
> + public void testGetImage() throws Exception {
> + Set<? extends Image> images = client.listImages();
> + String id = Iterables.getLast(images, null).getId();
> + Image image = client.getImage(id);
> + assertEquals(image.getName(), id);
`getName() == id` here? Is that really what's meant?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/24/files#r12030958