Skip to content

Commit bd9c73d

Browse files
committed
Skip check_interrupted
If we can't notice interrupts too many tests fail
1 parent 9842c60 commit bd9c73d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interrupt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub fn install_handler() {
1818
}
1919

2020
/// Return an error if the program was interrupted and should exit.
21+
#[mutants::skip] // With this mutated too many of the tests will hang.
2122
pub fn check_interrupted() -> Result<()> {
2223
if INTERRUPTED.load(Ordering::SeqCst) {
2324
error!("interrupted");

0 commit comments

Comments
 (0)