MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / test_health_store

Function test_health_store

crates/openshell-server/src/multiplex.rs:831–837  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

829 }
830
831 async fn test_health_store() -> Arc<crate::Store> {
832 Arc::new(
833 crate::Store::connect("sqlite::memory:")
834 .await
835 .expect("connect in-memory sqlite store for tests"),
836 )
837 }
838
839 async fn start_http_server_with_middleware() -> std::net::SocketAddr {
840 let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();

Callers 1

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected