Class TimeoutTestBase

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.rest.client.tck.WiremockArquillianTest
org.eclipse.microprofile.rest.client.tck.timeout.TimeoutTestBase
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener
Direct Known Subclasses:
TimeoutBuilderIndependentOfMPConfigTest, TimeoutTest, TimeoutViaMPConfigTest, TimeoutViaMPConfigWithConfigKeyTest

public abstract class TimeoutTestBase extends WiremockArquillianTest
  • Field Details

    • UNUSED_URL

      protected static final String UNUSED_URL
    • TIMEOUT_CUSHION

      protected static final int TIMEOUT_CUSHION
    • ROUNDING_FACTOR_CUSHION

      protected static final int ROUNDING_FACTOR_CUSHION
  • Constructor Details

    • TimeoutTestBase

      public TimeoutTestBase()
  • Method Details

    • testConnectTimeout

      public void testConnectTimeout() throws Exception
      Throws:
      Exception
    • testReadTimeout

      public void testReadTimeout() throws Exception
      Throws:
      Exception
    • getClientWithReadTimeout

      protected abstract SimpleGetApi getClientWithReadTimeout()
    • getClientWithConnectTimeout

      protected abstract SimpleGetApi getClientWithConnectTimeout()
    • checkTimeElapsed

      protected abstract void checkTimeElapsed(long elapsedMS)