Skip to content

Commit

Permalink
fixed failing linux tests because of signal. Now returns 101
Browse files Browse the repository at this point in the history
  • Loading branch information
Levitanus committed Dec 17, 2022
1 parent f982832 commit 517e94e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/test-extension-plugin/tests/reaper_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ fn run_integration_test_in_reaper(reaper_executable: &Path) -> Result<()> {
if exit_status.success() {
return Ok(());
}
let exit_code = exit_status
.code()
.ok_or("REAPER exited because of signal")?;
let exit_code = exit_status.code().unwrap_or_else(|| {
println!("REAPER exited because of signal");
101
});
if exit_code == 172 {
Err("Integration test failed")?
} else {
Expand Down

0 comments on commit 517e94e

Please sign in to comment.