fix a synchronization bug while importing tasks

This commit is contained in:
Tamo 2022-10-17 13:11:12 +02:00 committed by Clément Renault
parent a2384dc627
commit 6987bc185e
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 16 additions and 12 deletions

View file

@ -534,6 +534,7 @@ impl IndexScheduler {
pub fn create_update_file(&self) -> Result<(Uuid, file_store::File)> {
Ok(self.file_store.new_update()?)
}
#[cfg(test)]
pub fn create_update_file_with_uuid(&self, uuid: u128) -> Result<(Uuid, file_store::File)> {
Ok(self.file_store.new_update_with_uuid(uuid)?)