()
| 98 | use std::time::Duration; |
| 99 | |
| 100 | fn temp_catalog() -> (tempfile::TempDir, ClusterCatalog) { |
| 101 | let dir = tempfile::tempdir().unwrap(); |
| 102 | let path = dir.path().join("cluster.redb"); |
| 103 | let catalog = ClusterCatalog::open(&path).unwrap(); |
| 104 | (dir, catalog) |
| 105 | } |
| 106 | |
| 107 | #[test] |
| 108 | fn bootstrap_creates_cluster() { |