()
| 473 | |
| 474 | #[test] |
| 475 | fn test_session_queue_config_builders() { |
| 476 | let config = SessionQueueConfig::default() |
| 477 | .with_dlq(Some(500)) |
| 478 | .with_metrics() |
| 479 | .with_alerts() |
| 480 | .with_timeout(30_000); |
| 481 | |
| 482 | assert!(config.enable_dlq); |
| 483 | assert_eq!(config.dlq_max_size, Some(500)); |
| 484 | assert!(config.enable_metrics); |
| 485 | assert!(config.enable_alerts); |
| 486 | assert_eq!(config.default_timeout_ms, Some(30_000)); |
| 487 | } |
| 488 | |
| 489 | #[test] |
| 490 | fn test_session_queue_config_with_lane_features() { |
nothing calls this directly
no test coverage detected