-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
Almost all tests using ScopedThreads call join() on the thread, but few if any call hasFailed(). Without checking the result of hasFailed() on the thread, it's possible that an uncaught exception was thrown from the thread but the test can still pass. This may be hiding existing test failures.
If we don't do this, we should at least audit all users of ScopedThread and make sure they're handing errors from within the thread appropriately.
- duplicates
-
SERVER-35154 Exceptions that escape a ScopedThread should fail the test
- Closed