This repository was archived by the owner on Apr 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1103,7 +1103,7 @@ public void testDefaultNumChannelsWithGrpcGcpExtensionDisabled() {
11031103 .disableGrpcGcpExtension ()
11041104 .build ();
11051105
1106- assertEquals (SpannerOptions .GRPC_GCP_ENABLED_DEFAULT_CHANNELS , options .getNumChannels ());
1106+ assertEquals (SpannerOptions .DEFAULT_CHANNELS , options .getNumChannels ());
11071107 }
11081108
11091109 @ Test
@@ -1139,7 +1139,7 @@ public void checkCreatedInstanceWhenGrpcGcpExtensionDisabled() {
11391139 SpannerOptions options =
11401140 SpannerOptions .newBuilder ().setProjectId ("test-project" ).disableGrpcGcpExtension ().build ();
11411141 SpannerOptions options1 = options .toBuilder ().build ();
1142- assertEquals (true , options .isGrpcGcpExtensionEnabled ());
1142+ assertEquals (false , options .isGrpcGcpExtensionEnabled ());
11431143 assertEquals (options .isGrpcGcpExtensionEnabled (), options1 .isGrpcGcpExtensionEnabled ());
11441144
11451145 Spanner spanner1 = options .getService ();
You can’t perform that action at this time.
0 commit comments