()
| 217 | |
| 218 | #[test] |
| 219 | fn restarting_path() { |
| 220 | let t = ClusterLifecycleTracker::new(); |
| 221 | t.to_restarting(); |
| 222 | assert_eq!(t.current(), ClusterLifecycleState::Restarting); |
| 223 | t.to_ready(3); |
| 224 | assert!(t.is_ready()); |
| 225 | } |
| 226 | |
| 227 | #[test] |
| 228 | fn failed_is_not_terminal_by_contract() { |
nothing calls this directly
no test coverage detected