goosedump 0.12.33

Browse, search, compact, and learn from coding-agent sessions
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) Jarkko Sakkinen 2026

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()
    )))
}