Commit 538376d
authored
fix(auth): AuthExampleIT flaky test (#10024)
* fix: there was a race condition when running auth test where keys were getting deleted while still being used, so make each key name unique
* validate which key is being used/deleted
* validate which key is being used/deleted
* validate which key is being used/deleted
* clean up test strings
* use random number generator
* confirm deleting is the problem
* confirm deleting is the problem
* this error might be misleading there might be a delay in creating and API being available, so add additional tries if it fails for that reason
* fix lint
* fixed exception I was catching
* fixed exception I was catching
* lint fix
* remove debug line1 parent 6d0a235 commit 538376d
File tree
1 file changed
+27
-3
lines changed- auth/src/test/java/com/google/cloud/auth/samples
1 file changed
+27
-3
lines changedLines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
85 | 109 | | |
0 commit comments