You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gcloud-java-contrib/gcloud-java-nio/src/test/java/com/google/cloud/storage/contrib/nio/CloudStorageLateInitializationTest.java
if (System.getenv().containsKey("GOOGLE_APPLICATION_CREDENTIALS")) {
72
45
thrownewRuntimeException("CloudStorageLateInitializationTest can only be run if gcloud is not configured. This means no GOOGLE_APPLICATION_CREDENTIALS environment variable.");
73
46
}
@@ -93,7 +66,7 @@ public void pathFailsIfNoEnvVariable() throws IOException {
93
66
// *and* we don't have a ~/.config/gcloud/properties file (or %APPDATA%/gcloud in Windows)
94
67
// and we don't have a ~/.config/gcloud/active-config.
95
68
// (since we're also not providing credentials in any other way)
0 commit comments