-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: common: Rework InterruptIssue158Test
Make test compile/run on Java 8 and newer. Change assumptions around exceptions and interrupt state: - Change expectation of ClosedByInterruptException to AsynchronousCloseException (its superclass). - Only expect Thread#interrupted on actual ClosedByInterruptException. - Use temporary AFUNIXSocketAddress instead of hardcoded one to prevent flaky results. #158
- Loading branch information
1 parent
e7508d7
commit b70c33c
Showing
1 changed file
with
43 additions
and
28 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