This commit is contained in:
Jack Robison 2019-04-24 09:46:46 -04:00
parent 67088b2ca2
commit a8e612773d
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -83,7 +83,7 @@ class FileCommands(CommandTestCase):
self.assertNotIn('error', resp) self.assertNotIn('error', resp)
self.assertTrue(os.path.isfile(path)) self.assertTrue(os.path.isfile(path))
self.daemon.stream_manager.stop() self.daemon.stream_manager.stop()
await asyncio.sleep(0, loop=self.loop) await asyncio.sleep(0.01, loop=self.loop) # FIXME: this sleep should not be needed
self.assertFalse(os.path.isfile(path)) self.assertFalse(os.path.isfile(path))
async def test_incomplete_downloads_retry(self): async def test_incomplete_downloads_retry(self):