Annotation Interface ShouldPin


@Retention(RUNTIME) @Target({METHOD,TYPE}) @Inherited public @interface ShouldPin
Indicates that the method or class can pin. At most can be set to indicate the maximum number of events. If, during the execution of the test, a virtual thread does not pin the carrier thread, or pins it more than the given atMost value, the test fails.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • atMost

      int atMost
      Default:
      2147483647