Skip to content

Commit bdcbc46

Browse files
committed
default flushOnWrite to false
1 parent 38bec27 commit bdcbc46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/dev/zarr/zarrjava/store/BufferedZipStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public BufferedZipStore(@Nonnull StoreHandle underlyingStore, @Nonnull Store.Lis
161161
}
162162

163163
public BufferedZipStore(@Nonnull StoreHandle underlyingStore, @Nonnull Store.ListableStore bufferStore, @Nullable String archiveComment) {
164-
this(underlyingStore, bufferStore, archiveComment, true);
164+
this(underlyingStore, bufferStore, archiveComment, false);
165165
}
166166

167167
public BufferedZipStore(@Nonnull StoreHandle underlyingStore, @Nonnull Store.ListableStore bufferStore) {

src/test/java/dev/zarr/zarrjava/ZarrStoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static Stream<Store> localStores() {
287287
return Stream.of(
288288
new MemoryStore(),
289289
new FilesystemStore(TESTOUTPUT.resolve("testLocalStoresFS")),
290-
new BufferedZipStore(TESTOUTPUT.resolve("testLocalStoresZIP.zip"))
290+
new BufferedZipStore(TESTOUTPUT.resolve("testLocalStoresZIP.zip"), true)
291291
);
292292
}
293293

0 commit comments

Comments
 (0)