protected ReplicationConnection getUnreliableReplicationConnection(
Set<MockConnectionConfiguration> configs, Properties props) throws Exception {
NonRegisteringDriver d = new NonRegisteringDriver();
this.copyBasePropertiesIntoProps(props, d);
props.setProperty("socketFactory", "testsuite.UnreliableSocketFactory");
Properties parsed = d.parseURL(BaseTestCase.dbUrl, props);
String db = parsed.getProperty(NonRegisteringDriver.DBNAME_PROPERTY_KEY);
String port = parsed.getProperty(NonRegisteringDriver.PORT_PROPERTY_KEY);
String host = getPortFreeHostname(props, d);
UnreliableSocketFactory.flushAllHostLists();
StringBuffer hostString = new StringBuffer();