[grid] Using `PortProber.findFreePort()` for DistributorTest
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
+
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
@Before
public void setUp() throws URISyntaxException {
nodeUri = new URI("http://example:5678");
- routableUri = new URI("http://localhost:1234");
+ routableUri = new URI(String.format("http://localhost:%s", PortProber.findFreePort()));
tracer = DefaultTestTracer.createTracer();
bus = new GuavaEventBus();
LocalSessionMap sessions = new LocalSessionMap(tracer, bus);
