Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11830

Provide invocation based non blocking detection to test suite

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 11.0.0.CR1
    • None
    • Test Suite
    • None

    Description

      Currently we support block hound based blocking detection on a per thread basis. But this isn't sufficient if a test wants to detect if a blocking operation in a more natural way. Instead a user would have to submit a task to a different thread just for that invocation. This is ugly and quite error prone as it changes how the code would normally work (ThreadLocal etc.)

      We should instead use the new dynamic thread predicate added in BlockHound 1.0.3 to support this.

      I have also logged https://github.com/reactor/BlockHound/issues/121 which makes part of the code uglier until we can upgrade to 1.0.4.RELEASE.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: