use std::io;
use std::process::Command;
#[test]
fn synthetic_expert_cache_stress() -> io::Result<()> {
let output = Command::new(env!("CARGO_BIN_EXE_goosedump"))
.arg("bench-expert-cache")
.output()?;
if output.status.success() {
return Ok(());
}
Err(io::Error::other(format!(
"expert-cache checks exited {}: {}",
output.status,
String::from_utf8_lossy(&output.stderr).trim()
)))
}