(handle: &crate::daemon::state::RepoHandle)
| 4 | const DATA: TableDefinition<u64, &[u8]> = TableDefinition::new("compaction_data"); |
| 5 | |
| 6 | fn request(handle: &crate::daemon::state::RepoHandle) -> Request<CompactDatabaseRequest> { |
| 7 | Request::new(CompactDatabaseRequest { |
| 8 | repository: Some(handle.repository_ref()), |
| 9 | meta: Some(crate::atomic::RequestMeta { |
| 10 | request_id: uuid::Uuid::new_v4().to_string(), |
| 11 | observed_at: None, |
| 12 | }), |
| 13 | }) |
| 14 | } |
| 15 | |
| 16 | #[tokio::test] |
| 17 | async fn busy_reader_and_writer_time_out_then_retry_succeeds() { |
no test coverage detected