MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / test_runtime_start_stop

Function test_runtime_start_stop

runtime/src/runtime.rs:126–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124
125 #[tokio::test]
126 async fn test_runtime_start_stop() {
127 let runtime = Runtime::new();
128 runtime.start();
129 assert!(runtime.is_running());
130
131 runtime.stop().await;
132 assert!(!runtime.is_running());
133 }
134
135 #[tokio::test]
136 async fn test_runtime_spawn() {

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected