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
700
700
private CloseableExecutorProvider asyncExecutorProvider ;
701
701
private String compressorName ;
702
702
private String emulatorHost = System .getenv ("SPANNER_EMULATOR_HOST" );
703
- private boolean leaderAwareRoutingEnabled = true ;
703
+ private boolean leaderAwareRoutingEnabled = false ;
704
704
705
705
private Builder () {
706
706
// 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() {
680
680
681
681
@ Test
682
682
public void testLeaderAwareRoutingEnablement () {
683
- assertTrue (SpannerOptions .newBuilder ().setProjectId ("p" ).build ().isLeaderAwareRoutingEnabled ());
683
+ assertFalse (
684
+ SpannerOptions .newBuilder ().setProjectId ("p" ).build ().isLeaderAwareRoutingEnabled ());
684
685
assertTrue (
685
686
SpannerOptions .newBuilder ()
686
687
.setProjectId ("p" )
You can’t perform that action at this time.
0 commit comments