fix integration test

This commit is contained in:
Victor Shyba 2019-02-21 21:14:51 -03:00
parent b834f29634
commit f49578cdbc

View file

@ -133,6 +133,7 @@ class FileCommands(CommandTestCase):
# restore blob # restore blob
os.rename(missing_blob.file_path + '__', missing_blob.file_path) os.rename(missing_blob.file_path + '__', missing_blob.file_path)
self.server_blob_manager.blobs.clear() self.server_blob_manager.blobs.clear()
missing_blob = self.server_blob_manager.get_blob(missing_blob_hash)
await self.server_blob_manager.blob_completed(missing_blob) await self.server_blob_manager.blob_completed(missing_blob)
await asyncio.wait_for(self.wait_files_to_complete(), timeout=1) await asyncio.wait_for(self.wait_files_to_complete(), timeout=1)