We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7c3f8 commit a304b8cCopy full SHA for a304b8c
tests/objectbox-java-test/src/test/java/io/objectbox/BoxStoreTest.java
@@ -325,7 +325,7 @@ public void validate() {
325
// Note: not implemented for in-memory, returns 0.
326
// No limit.
327
long validated = store.validate(0, true);
328
- assertEquals(IN_MEMORY ? 0 : 15, validated);
+ assertTrue(IN_MEMORY ? validated == 0 : validated > 2 /* must be larger than with pageLimit == 1, see below */);
329
330
// With limit.
331
validated = store.validate(1, true);
0 commit comments