Skip to content

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

test(flows): isolate fd lifetime test in its own process

Steven Enamakeldcb387286392
diff --git a/crates/openhuman-core/src/flows/catalog_storage_resource_tests.rs b/crates/openhuman-core/src/flows/catalog_storage_resource_tests.rs
index fb0e310fe6..be992331c3 100644
--- a/crates/openhuman-core/src/flows/catalog_storage_resource_tests.rs
+++ b/crates/openhuman-core/src/flows/catalog_storage_resource_tests.rs
@@ -24,6 +24,13 @@ fn open_fd_count() -> usize {
#[tokio::test]
async fn workspace_fd_lifetime_is_separate_from_catalog_callback_lifetime() {
+ if crate::util::module_test_process::run(
+ module_path!(),
+ "workspace_fd_lifetime_is_separate_from_catalog_callback_lifetime",
+ ) {
+ return;
+ }
+
// Warm the process-wide bus before measuring. Serving additional callback
// objects should only add entries to that shared bus, not open a backend.
crate::modules::runtime::runtime()