Skip to content

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

test(storage): fix legacy profile boot test ownership

Steven Enamakel84863868c49c
diff --git a/tests/storage_legacy_profile_boot_e2e.rs b/tests/storage_legacy_profile_boot_e2e.rs
index 324cc5c4fa..9ab5884af3 100644
--- a/tests/storage_legacy_profile_boot_e2e.rs
+++ b/tests/storage_legacy_profile_boot_e2e.rs
@@ -188,8 +188,9 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {
.build()
.unwrap();
owner_runtime.block_on(async move {
- let owner_backend = openhuman_core::storage::block_on(async {
- openhuman_core::storage::open(&storage_url).await
+ let open_url = storage_url.clone();
+ let owner_backend = openhuman_core::storage::block_on(async move {
+ openhuman_core::storage::open(&open_url).await
})
.unwrap();
openhuman_core::storage::install_for_url(&storage_url, owner_backend);