File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/java/com/google/cloud/spanner
test/java/com/google/cloud/spanner Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ public static class Builder
700700 private CloseableExecutorProvider asyncExecutorProvider ;
701701 private String compressorName ;
702702 private String emulatorHost = System .getenv ("SPANNER_EMULATOR_HOST" );
703- private boolean leaderAwareRoutingEnabled = true ;
703+ private boolean leaderAwareRoutingEnabled = false ;
704704
705705 private Builder () {
706706 // Manually set retry and polling settings that work.
Original file line number Diff line number Diff line change @@ -680,7 +680,8 @@ public void testCompressorName() {
680680
681681 @ Test
682682 public void testLeaderAwareRoutingEnablement () {
683- assertTrue (SpannerOptions .newBuilder ().setProjectId ("p" ).build ().isLeaderAwareRoutingEnabled ());
683+ assertFalse (
684+ SpannerOptions .newBuilder ().setProjectId ("p" ).build ().isLeaderAwareRoutingEnabled ());
684685 assertTrue (
685686 SpannerOptions .newBuilder ()
686687 .setProjectId ("p" )
You can’t perform that action at this time.
0 commit comments