Repository navigation
Commit 5d2b9da
committed
test(spanner): unflake ITAutogeneratedAdminClientTest
This fixes a timeout in roleWithNoPermissions and grantAndRevokeDatabaseRolePermissions where the spanner DatabaseClient instance was not closed before dropping the role, causing the backend DROP ROLE DDL to block on active session pool connections.1 parent 1d92aa5 commit 5d2b9da
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| 213 | + | |
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
| |||
0 commit comments