use of com.yahoo.vespa.config.server.http.RequestTimeoutException in project vespa by vespa-engine.
the class HttpProxyTest method testFetchException.
@Test(expected = RequestTimeoutException.class)
public void testFetchException() {
when(fetcher.get(any(), any())).thenThrow(new RequestTimeoutException("timed out"));
HttpResponse actualResponse = proxy.get(applicationMock, hostname, "container-clustercontroller", "clustercontroller-status/v1/clusterName");
}
Aggregations