We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b126a34 commit 701ba98Copy full SHA for 701ba98
auth/src/test/java/com/google/cloud/auth/samples/AuthExampleIT.java
@@ -64,7 +64,8 @@ public void testAuthExplicitNoPath() throws IOException {
64
@Test
65
public void testAuthApiKey() throws IOException, IllegalStateException {
66
String projectId = ServiceOptions.getDefaultProjectId();
67
- String keyDisplayName = "Test API Key " + System.currentTimeMillis();;
+ java.util.Random random = new java.util.Random();
68
+ String keyDisplayName = "Test API Key " + random.nextInt();
69
String service = "language.googleapis.com";
70
String method = "google.cloud.language.v2.LanguageService.AnalyzeSentiment";
71
Key apiKey = null;
0 commit comments