Skip to content

Commit

Permalink
Applied patch from old PR #112 which can't be merged (#326)
Browse files Browse the repository at this point in the history
Added uncaught exceptions to test method signature.

This PR manually applies the old PR #112 (thanks to @62mkv), which was created a long time ago by but which can't be currently merged.
  • Loading branch information
pderop authored Jan 23, 2023
1 parent c953d6f commit 77ac45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Otherwise, you may get false positives due to the incorrectly installed agent (o
The simpliest test using Project Reactor would look like this:
```java
@Test
public void blockHoundWorks() {
public void blockHoundWorks() throws TimeoutException, InterruptedException {
try {
FutureTask<?> task = new FutureTask<>(() -> {
Thread.sleep(0);
Expand Down

0 comments on commit 77ac45a

Please sign in to comment.