@Test
public void manyParallelReadVersions() throws InterruptedException, ExecutionException {

    final FDBStoreTimer timer = new FDBStoreTimer();
    try (FDBRecordContext context = fdb.openContext(null, timer)) {
        List<CompletableFuture<Long>> futures = Stream.generate(context::getReadVersionAsync)
                .limit(10)
                .collect(Collectors.toList());
        List<Long> readVersions = AsyncUtil.getAll(futures).get();
        long firstReadVersion = readVersions.get(0);
        for (long readVersion : readVersions) {
            assertEquals(firstReadVersion, readVersion);
        }
        assertEquals(1, timer.getCount(FDBStoreTimer.Events.GET_READ_VERSION));
    }
}