()
| 387 | |
| 388 | #[tokio::test] |
| 389 | async fn probe_paths_unversioned() { |
| 390 | let r = stub_router(); |
| 391 | assert_eq!( |
| 392 | status_for(&r, Method::GET, "/healthz").await, |
| 393 | StatusCode::OK |
| 394 | ); |
| 395 | assert_eq!( |
| 396 | status_for(&r, Method::GET, "/health/live").await, |
| 397 | StatusCode::OK |
| 398 | ); |
| 399 | assert_eq!( |
| 400 | status_for(&r, Method::GET, "/health/ready").await, |
| 401 | StatusCode::OK |
| 402 | ); |
| 403 | assert_eq!( |
| 404 | status_for(&r, Method::POST, "/health/drain").await, |
| 405 | StatusCode::OK |
| 406 | ); |
| 407 | assert_eq!( |
| 408 | status_for(&r, Method::GET, "/metrics").await, |
| 409 | StatusCode::OK |
| 410 | ); |
| 411 | } |
| 412 | |
| 413 | #[tokio::test] |
| 414 | async fn v1_routes_exist() { |
nothing calls this directly
no test coverage detected