()
| 255 | use crate::persistence::Store; |
| 256 | |
| 257 | async fn test_store() -> Arc<Store> { |
| 258 | Arc::new( |
| 259 | Store::connect("sqlite::memory:?cache=shared") |
| 260 | .await |
| 261 | .unwrap(), |
| 262 | ) |
| 263 | } |
| 264 | |
| 265 | fn lease(store: Arc<Store>, id: &str, ttl: Duration) -> ReconcilerLease { |
| 266 | ReconcilerLease::new(store, id.to_string(), ttl) |
no test coverage detected