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

Commit c23f49f

Browse files
committed
fixed unit test
1 parent b0762a9 commit c23f49f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ public Builder setDefaultTransactionOptions(
19501950
@Override
19511951
public SpannerOptions build() {
19521952
// Set the host of emulator has been set.
1953-
if (emulatorHost != null) {
1953+
if (emulatorHost != null && experimentalHost == null) {
19541954
if (!emulatorHost.startsWith("http")) {
19551955
emulatorHost = "http://" + emulatorHost;
19561956
}

0 commit comments

Comments
 (0)