> @@ -51,7 +53,10 @@ public GoogleComputeEngineServiceLiveTest() {
>     @Override
>     protected Properties setupProperties() {
>        Properties props = super.setupProperties();
> -      setCredentialFromPemFile(props, provider + ".credential");
> +      if 
> (!System.getProperties().containsKey(OAuthProperties.CREDENTIAL_TYPE)
> +            || 
> !System.getProperty(OAuthProperties.CREDENTIAL_TYPE).equalsIgnoreCase(CredentialType.BEARER_TOKEN_CREDENTIALS.toString()))
>  {

Yeah, much cleaner... I went ahead and used your suggestion.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/34/files#r16207847

Reply via email to