From 77ac45a2fe9210aab5b40a975b1f795dc2a355d9 Mon Sep 17 00:00:00 2001 From: Pierre De Rop Date: Mon, 23 Jan 2023 18:44:39 +0100 Subject: [PATCH] Applied patch from old PR #112 which can't be merged (#326) 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. --- docs/tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tips.md b/docs/tips.md index 999ad8d..1d1b1a6 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -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);