Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): correct assertion in boot_sweep schema init failure test

Steven Enamakel937061e92882
diff --git a/src/openhuman/flows/ops_tests_part_12_tests.rs b/src/openhuman/flows/ops_tests_part_12_tests.rs
index 100ec85ee2..b2fa84b5de 100644
--- a/src/openhuman/flows/ops_tests_part_12_tests.rs
+++ b/src/openhuman/flows/ops_tests_part_12_tests.rs
@@ -684,7 +684,7 @@ async fn boot_sweep_handles_schema_init_failure_gracefully() {
"the sweep warning must preserve the schema context, got {warning:?}"
);
assert!(
- warning.contains("disk permission denied"),
- "the sweep warning must preserve the root cause, got {warning:?}"
+ warning.contains(&file_path.join("flows").display().to_string()),
+ "the sweep warning must preserve the filesystem root cause, got {warning:?}"
);
}