Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
None
-
Turing Sprint 169
Description
A couple of tests have the following pattern:
@Test public void assert_something() throws Exception { Thread lockThread = new Thread(() -> { fail("I failed"); }); lockThread.start(); lockThread.join(); }
The problem with this pattern is that although something gets logged like
Exception in thread "Thread-2" java.lang.AssertionError: I failed
the test itself just passes because the Thread the runs the test didn't get the exception
Attachments
Issue Links
- is backported by
-
REPO-1887 [Backport 11.2] LockManager unit tests improvements
- Closed