@Test
public void timeoutTalkingToFakeCluster() throws IOException {

    final String fakeClusterFile = FDBTestBase.createFakeClusterFile("for_testing_timeouts");
    final FDBDatabase fakeFdb = FDBDatabaseFactory.instance().getDatabase(fakeClusterFile);
    final FDBRecordContextConfig config = FDBRecordContextConfig.newBuilder()
            .setTransactionTimeoutMillis(100L)
            .build();
    try (FDBRecordContext context = fakeFdb.openContext(config)) {
        assertEquals(100L, context.getTimeoutMillis());
        assertThrows(FDBExceptions.FDBStoreTransactionTimeoutException.class, context::getReadVersion);
    }
}