Skip to content

Commit a6c985a

Browse files
committed
Bump to latest google-cloud-datastore
Requires explicitly specifying setStoreOnDisk(false) for the test helper
1 parent d2e7f06 commit a6c985a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
<dependency>
179179
<groupId>com.google.cloud</groupId>
180180
<artifactId>google-cloud-datastore</artifactId>
181-
<version>1.101.0</version>
181+
<version>2.11.4</version>
182182
</dependency>
183183

184184
<dependency>

src/test/java/com/googlecode/objectify/test/util/LocalDatastoreExtension.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ public void beforeAll(final ExtensionContext context) throws Exception {
2626
if (getHelper(context) == null) {
2727
log.info("Creating new LocalDatastoreHelper");
2828

29-
final LocalDatastoreHelper helper = LocalDatastoreHelper.create(consistency);
29+
final LocalDatastoreHelper helper = LocalDatastoreHelper.newBuilder()
30+
.setConsistency(consistency)
31+
.setStoreOnDisk(false)
32+
.build();
33+
3034
context.getRoot().getStore(Namespace.GLOBAL).put(LocalDatastoreHelper.class, helper);
3135
helper.start();
3236
}

0 commit comments

Comments
 (0)