Skip to content

Commit 0a7c81d

Browse files
karthiknadigCopilot
andcommitted
test: expose native probe failures (PR #556)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 30b45aa commit 0a7c81d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎crates/pet-conda/src/conda_info.rs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,14 @@ mod tests {
244244
}
245245
let info = CondaInfo::from_with_runner(Some(executable.clone()), |command, timeout| {
246246
assert_eq!(timeout, Duration::from_secs(15));
247-
output(command, Duration::from_secs(5))
247+
let result = output(command, Duration::from_secs(5))
248+
.expect("noisy Conda fixture runner must complete");
249+
assert!(
250+
result.status.success(),
251+
"noisy Conda fixture exited with {}",
252+
result.status
253+
);
254+
Ok(result)
248255
})
249256
.expect("noisy Conda fixture must still resolve");
250257
assert_eq!(info.conda_version, "25.1.0");

0 commit comments

Comments
 (0)