(store: Arc<Store>, id: &str, ttl: Duration)
| 263 | } |
| 264 | |
| 265 | fn lease(store: Arc<Store>, id: &str, ttl: Duration) -> ReconcilerLease { |
| 266 | ReconcilerLease::new(store, id.to_string(), ttl) |
| 267 | } |
| 268 | |
| 269 | #[tokio::test] |
| 270 | async fn acquire_succeeds_when_no_lease_exists() { |
no outgoing calls
no test coverage detected