()
| 289 | |
| 290 | #[test] |
| 291 | fn failure_recovery() { |
| 292 | let mut m = test_migration(); |
| 293 | m.start_base_copy(100); |
| 294 | m.fail("network partition".into()); |
| 295 | assert!(!m.is_active()); |
| 296 | assert!(matches!(m.phase, MigrationPhase::Failed { .. })); |
| 297 | } |
| 298 | |
| 299 | #[test] |
| 300 | fn catchup_threshold() { |
nothing calls this directly
no test coverage detected