()
| 208 | |
| 209 | #[test] |
| 210 | fn bootstrapping_then_ready() { |
| 211 | let t = ClusterLifecycleTracker::new(); |
| 212 | t.to_bootstrapping(); |
| 213 | assert_eq!(t.current(), ClusterLifecycleState::Bootstrapping); |
| 214 | t.to_ready(1); |
| 215 | assert!(t.is_ready()); |
| 216 | } |
| 217 | |
| 218 | #[test] |
| 219 | fn restarting_path() { |
nothing calls this directly
no test coverage detected