@Test
public void getReadVersionWithWeakReadSemantics() {

    fdb.setTrackLastSeenVersion(true);
    long firstReadVersion;
    try (FDBRecordContext context = fdb.openContext()) {
        firstReadVersion = context.getReadVersion();
    }
    final FDBStoreTimer timer = new FDBStoreTimer();
    try (FDBRecordContext context = fdb.openContext(null, timer, UNLIMITED_STALE_READ)) {
        assertEquals(firstReadVersion, context.getReadVersion());
        assertEquals(0, timer.getCount(FDBStoreTimer.Events.GET_READ_VERSION));
    }
}