The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs
Steven Enamakele2b3edf77776
diff --git a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rsindex 20ceafbacc..711dc6fc21 100644--- a/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs+++ b/crates/openhuman-core/src/storage/fenced_backend_upstream_tests.rs@@ -2,12 +2,15 @@//! view of the shared backend are refused while B's succeed.use super::*;+use async_trait::async_trait;use crate::storage::fence::{fence_error, FenceError, LeaseFence, ScopeMatch};use crate::storage::lease::{DocumentLeases, LeaseGrant, LeaseStore, LocalLeases};-use crate::storage::MemoryStorage;+use crate::storage::test_support::{memory_backend, sqlite_backend, SqliteBackend};+use crate::storage::{Storage, StorageBackend};use serde_json::json;use std::sync::atomic::{AtomicU64, Ordering};use std::time::Duration;+use tinystoragedrivers_types::{Capabilities, Capability, CollectionSpec, ErrorKind, Precondition, Scope, Version};#[path = "fenced_blob_stream_tests.rs"]mod blob_stream_tests;@@ -64,7 +67,7 @@ impl Node {grant}- fn scoped(&self, scope: &str) -> ScopedStorage {+ fn scoped(&self, scope: &str) -> Storage {self.storage.for_scope(&Scope::new(scope).unwrap()).unwrap()}@@ -76,8 +79,8 @@ impl Node {}}-fn shared() -> Arc<dyn StorageBackend> {- Arc::new(MemoryStorage::new())+fn shared() -> SqliteBackend {+ sqlite_backend().unwrap()}#[tokio::test]