Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve test failure reporting of EpollSocketChannelConfigTest (#11570)
Motivation: This test is inherently flaky due to file descriptor reuse. Even though we have taken steps to make it less flaky, it still fails sometimes. When it does, the error message is not very helpful. Modification: Make use of assertThrows and assertThat to get more descriptive error messages when the tests fail. Result: More meaningful messages on test failures, which may help us make the tests more resilient in the future
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters