Class AsyncExecTestBase

java.lang.Object
org.apache.polaris.nosql.async.AsyncExecTestBase

@EnableWeld @ExtendWith(org.assertj.core.api.junit.jupiter.SoftAssertionsExtension.class) public abstract class AsyncExecTestBase extends Object
  • Field Details

    • soft

      protected org.assertj.core.api.SoftAssertions soft
    • executor

      @Inject protected org.apache.polaris.nosql.async.AsyncExec executor
    • asyncTimeout

      protected final Duration asyncTimeout
  • Constructor Details

    • AsyncExecTestBase

      public AsyncExecTestBase()
  • Method Details

    • simpleTests

      @Test public void simpleTests() throws Exception
      Throws:
      Exception
    • applicationScopedInvocation

      @Test public void applicationScopedInvocation()
    • submitMany

      @Test public void submitMany()
    • submitManyFailing

      @Test public void submitManyFailing()
    • scheduleMany

      @Test public void scheduleMany()
    • periodic

      @ParameterizedTest @ValueSource(ints={2147483647,0,1,3,5}) public void periodic(int failAfter)
    • threadAssertion

      protected abstract void threadAssertion()