()
| 1829 | |
| 1830 | #[tokio::test(flavor = "multi_thread")] |
| 1831 | async fn test_session_with_queue_config() { |
| 1832 | let agent = Agent::from_config(test_config()).await.unwrap(); |
| 1833 | let qc = SessionQueueConfig::default(); |
| 1834 | let opts = SessionOptions::new().with_queue_config(qc); |
| 1835 | let session = agent.session("/tmp/test-workspace-queue", Some(opts)); |
| 1836 | assert!(session.is_ok()); |
| 1837 | let session = session.unwrap(); |
| 1838 | assert!(session.has_queue()); |
| 1839 | } |
| 1840 | |
| 1841 | #[tokio::test] |
| 1842 | async fn test_session_without_queue_config() { |
nothing calls this directly
no test coverage detected