-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to handle interrupting runtests better (#25348)
I had a test that was hanging and I did not know which one. Hitting ^C would kill everything without showing which tests failed and which tests didn't complete. My next attempt was to enable InterruptException, but that doesn't seem to play well with the Distributed stuff (a topic for another time). This works by setting STDIN to raw and monitoring it for ^C instead.
- Loading branch information
Showing
2 changed files
with
108 additions
and
52 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
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