// Start a bridge from broker1 to broker2. The bridge delays returning
// from start until after the bridge failure has been processed;
// this leaves the first bridge creation attempt recorded as active,
// even though it failed.
final SimpleDiscoveryAgent da = new SimpleDiscoveryAgent();
da.setServices(new URI[] { broker2.getVmConnectorURI() });
final CountDownLatch attemptLatch = new CountDownLatch(3);
final CountDownLatch removedLatch = new CountDownLatch(1);
DiscoveryNetworkConnector nc = new DiscoveryNetworkConnector() {