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 7b55874 commit 576d8b9Copy full SHA for 576d8b9
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITDatabaseRolePermissionTest.java
@@ -100,7 +100,8 @@ public void grantAndRevokeDatabaseRolePermissions() throws Exception {
100
.get(5, TimeUnit.MINUTES);
101
102
// Connect to db with dbRoleParent.
103
- SpannerOptions options = SpannerOptions.newBuilder().setDatabaseRole(dbRoleParent).build();
+ SpannerOptions options =
104
+ testHelper.getOptions().toBuilder().setDatabaseRole(dbRoleParent).build();
105
106
Spanner spanner = options.getService();
107
DatabaseClient dbClient = spanner.getDatabaseClient(createdDatabase.getId());
0 commit comments