We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f982832 commit 6fb1ec8Copy full SHA for 6fb1ec8
test/test-extension-plugin/tests/reaper_integration_test.rs
@@ -81,9 +81,11 @@ fn run_integration_test_in_reaper(reaper_executable: &Path) -> Result<()> {
81
if exit_status.success() {
82
return Ok(());
83
}
84
- let exit_code = exit_status
85
- .code()
86
- .ok_or("REAPER exited because of signal")?;
+ if exit_status.code().is_none() {
+ println!("REAPER exited because of signal");
+ return Ok(());
87
+ }
88
+ let exit_code = exit_status.code().unwrap();
89
if exit_code == 172 {
90
Err("Integration test failed")?
91
} else {
0 commit comments