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 576d8b9 commit 192b8caCopy full SHA for 192b8ca
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITDatabaseRolePermissionTest.java
@@ -159,7 +159,8 @@ public void roleWithNoPermissions() throws Exception {
159
.get(5, TimeUnit.MINUTES);
160
161
// Connect to db with dbRoleOrphan
162
- SpannerOptions options = SpannerOptions.newBuilder().setDatabaseRole(dbRoleOrphan).build();
+ SpannerOptions options =
163
+ testHelper.getOptions().toBuilder().setDatabaseRole(dbRoleOrphan).build();
164
165
Spanner spanner = options.getService();
166
DatabaseClient dbClient = spanner.getDatabaseClient(createdDatabase.getId());
0 commit comments