()
| 309 | |
| 310 | #[test] |
| 311 | fn test_delay_zero_base() { |
| 312 | let config = RetryConfig { |
| 313 | base_delay_ms: 0, |
| 314 | max_delay_ms: 1000, |
| 315 | ..Default::default() |
| 316 | }; |
| 317 | let d = config.delay_for_attempt(0); |
| 318 | assert_eq!(d.as_millis(), 0); |
| 319 | } |
| 320 | |
| 321 | // ======================================================================== |
| 322 | // Retry-After header parsing |
nothing calls this directly
no test coverage detected