[infinispan-issues] [JBoss JIRA] (ISPN-11830) Provide invocation based non blocking detection to test suite

Will Burns (Jira) issues at jboss.org
Thu May 14 13:28:50 EDT 2020


Will Burns created ISPN-11830:
---------------------------------

             Summary: Provide invocation based non blocking detection to test suite
                 Key: ISPN-11830
                 URL: https://issues.redhat.com/browse/ISPN-11830
             Project: Infinispan
          Issue Type: Task
          Components: Test Suite
            Reporter: Will Burns
            Assignee: Will Burns
             Fix For: 11.0.0.CR1


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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list