]
Will Burns updated ISPN-11830:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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
Priority: Major
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.