Skip to content

Commit ffe6dd0

Browse files
committed
confirm deleting is the problem
1 parent 701ba98 commit ffe6dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auth/src/test/java/com/google/cloud/auth/samples/AuthExampleIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ public void testAuthApiKey() throws IOException, IllegalStateException {
7272
try {
7373
apiKey = AuthTestUtils.createTestApiKey(projectId, keyDisplayName, service, method);
7474
assertNotNull(apiKey);
75+
assert
7576
String output = ApiKeyAuthExample.authenticateUsingApiKey(apiKey.getKeyString());
7677

7778
assertTrue(output.contains("magnitude:"));
7879
} finally {
7980
if (apiKey != null) {
80-
AuthTestUtils.deleteTestApiKey(apiKey.getName());
81+
// AuthTestUtils.deleteTestApiKey(apiKey.getName());
8182
}
8283
}
8384
}

0 commit comments

Comments
 (0)