Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 6329b45

Browse files
committed
feat: attemp DirectPath by default
1 parent 2b1996e commit 6329b45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

google-cloud-spanner/src/test/java/com/google/cloud/spanner/GceTestEnvConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public GceTestEnvConfig() {
7373
InstantiatingGrpcChannelProvider.Builder defaultChannelProviderBuilder =
7474
InstantiatingGrpcChannelProvider.newBuilder();
7575
if (attemptDirectPath) {
76-
builder.setChannelProvider(defaultChannelProviderBuilder.setEndpoint(DIRECT_PATH_ENDPOINT).build());
76+
builder.setChannelProvider(
77+
defaultChannelProviderBuilder.setEndpoint(DIRECT_PATH_ENDPOINT).build());
7778
}
7879
if (!projectId.isEmpty()) {
7980
builder.setProjectId(projectId);

0 commit comments

Comments
 (0)