public void testSpeculativeReadScheduling() throws Exception {
long id = getLedgerToRead(3,2);
int timeout = 1000;
BookKeeper bkspec = createClient(timeout);
LedgerHandle l = bkspec.openLedger(id, digestType, passwd);
ArrayList<InetSocketAddress> ensemble = l.getLedgerMetadata().getEnsembles().get(0L);
Set<InetSocketAddress> allHosts = new HashSet(ensemble);
Set<InetSocketAddress> noHost = new HashSet();
Set<InetSocketAddress> secondHostOnly = new HashSet();