throw e;
}
this.httpClient = new StandaloneNettyAsyncHttpClient("test",
new HttpClientConfig()
.setConnectTimeout(new Duration(1, TimeUnit.DAYS))
.setReadTimeout(new Duration(10, TimeUnit.DAYS)));
long start = System.nanoTime();
while (!allNodesGloballyVisible()) {
assertLessThan(nanosSince(start), new Duration(10, SECONDS));
MILLISECONDS.sleep(10);
}
for (TestingPrestoServer server : servers) {
server.getMetadata().addFunctions(CUSTOM_FUNCTIONS);