Annotation Interface RunWithCustomExecutor


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RunWithCustomExecutor
Junit Test method annotation used to run the associated test in a specific Thread (RunWithCustomExecutorRule. Mainly designed to run Tests inside VitamThreads
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
    Equivalent of @Test(timeout=) for running tests with a VitamThread.
  • Element Details

    • timeout

      long timeout
      Equivalent of @Test(timeout=) for running tests with a VitamThread.
      Default:
      0L