private JRTConnection failAndGetNewConnection(JRTConnectionPool connectionPool, Connection failingConnection) {
        connectionPool.switchConnection(failingConnection);
        return connectionPool.getCurrent();
    }
Tests that updating config sources works.
config/src/test/java/com/yahoo/vespa/config/JRTConnectionPoolTest.java