public class UnresponsiveServerIntegrationTests extends UnresponsiveMockServerTestBase
server| Constructor and Description | 
|---|
| UnresponsiveServerIntegrationTests() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clientExecutionTimeoutDisabled_SocketTimeoutExceptionIsThrown_NoThreadsCreated() | 
| void | clientExecutionTimeoutEnabled_WithLongerSocketTimeout_ThrowsClientExecutionTimeoutException() | 
| void | clientExecutionTimeoutEnabled_WithShorterClientExecutionTimeout_ThrowsClientExecutionTimeoutException() | 
| void | clientExecutionTimeoutEnabled_WithShorterRequestTimeout_ThrowsHttpRequestTimeoutException() | 
| void | clientExecutionTimeoutEnabled_WithShorterRequestTimeoutAndRetry_ThrowsClientExecutionTimeoutException() | 
| void | clientExecutionTimeoutEnabled_WithShorterSocketTimeout_ThrowsSocketTimeoutException() | 
| void | interruptCausedBySomethingOtherThanTimer_PropagatesInterruptToCaller()The client execution timer uses interrupts to abort the client but if another thread
 interrupts the current thread for another reason we don't want to squash the
  InterruptedException. | 
| static void | preConditions() | 
buildMockServernewGetRequest, setupBaseFixture, tearDownBaseFixturepublic static void preConditions()
public void clientExecutionTimeoutDisabled_SocketTimeoutExceptionIsThrown_NoThreadsCreated()
public void interruptCausedBySomethingOtherThanTimer_PropagatesInterruptToCaller()
InterruptedException. We should set the thread's interrupted status and throw the
 exception back out (we can't throw the actual InterruptedException because it's
 checked)public void clientExecutionTimeoutEnabled_WithLongerSocketTimeout_ThrowsClientExecutionTimeoutException()
                                                                                                 throws IOException
IOExceptionpublic void clientExecutionTimeoutEnabled_WithShorterSocketTimeout_ThrowsSocketTimeoutException()
                                                                                         throws IOException
IOExceptionpublic void clientExecutionTimeoutEnabled_WithShorterClientExecutionTimeout_ThrowsClientExecutionTimeoutException()
                                                                                                           throws IOException
IOExceptionpublic void clientExecutionTimeoutEnabled_WithShorterRequestTimeout_ThrowsHttpRequestTimeoutException()
                                                                                               throws IOException
IOExceptionpublic void clientExecutionTimeoutEnabled_WithShorterRequestTimeoutAndRetry_ThrowsClientExecutionTimeoutException()
                                                                                                           throws IOException
IOExceptionCopyright © 2021. All rights reserved.