diff --git a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java index 427882fd86e7..c71f2bde7bb9 100644 --- a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java +++ b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java @@ -65,7 +65,7 @@ public class LocalDatastoreHelper extends BaseEmulatorHelper { // Downloadable emulator settings private static final String BIN_NAME = "cloud-datastore-emulator/cloud_datastore_emulator"; private static final String FILENAME = "cloud-datastore-emulator-" + MIN_VERSION + ".zip"; - private static final String MD5_CHECKSUM = "e0d1170519cf52e2e5f9f93892cdf70c"; + private static final String MD5_CHECKSUM = "7c1f5a3276241a8f78cb1a837daaaa47"; private static final String BIN_CMD_PORT_FLAG = "--port="; private static final URL EMULATOR_URL; private static final String EMULATOR_URL_ENV_VAR = "DATASTORE_EMULATOR_URL"; @@ -176,7 +176,7 @@ private LocalDatastoreHelper(Builder builder) { } else { // At most one of --consistency | --use-firestore-in-datastore-mode can be specified. // --consistency will be ignored with --use-firestore-in-datastore-mode. - gcloudCommand.add(CONSISTENCY_FLAG + builder.consistency); + gcloudCommand.add(CONSISTENCY_FLAG + getConsistency()); } if (!builder.storeOnDisk) { gcloudCommand.add("--no-store-on-disk");