forked from LBRYCommunity/lbry-sdk
with the fix we no longer need to restart the stream
This commit is contained in:
parent
903ed9f3dc
commit
1ddc7ddda3
1 changed files with 0 additions and 2 deletions
|
@ -365,7 +365,6 @@ class FileCommands(CommandTestCase):
|
||||||
self.assertNotIn('error', resp)
|
self.assertNotIn('error', resp)
|
||||||
self.assertItemCount(await self.daemon.jsonrpc_file_list(), 1)
|
self.assertItemCount(await self.daemon.jsonrpc_file_list(), 1)
|
||||||
self.assertEqual('running', (await self.file_list())[0]['status'])
|
self.assertEqual('running', (await self.file_list())[0]['status'])
|
||||||
await self.daemon.jsonrpc_file_set_status('stop', claim_name='foo')
|
|
||||||
|
|
||||||
# recover blobs
|
# recover blobs
|
||||||
for blob_hash in all_except_sd_and_head:
|
for blob_hash in all_except_sd_and_head:
|
||||||
|
@ -374,7 +373,6 @@ class FileCommands(CommandTestCase):
|
||||||
self.server_blob_manager.blobs.clear()
|
self.server_blob_manager.blobs.clear()
|
||||||
await self.server_blob_manager.blob_completed(self.server_blob_manager.get_blob(blob_hash))
|
await self.server_blob_manager.blob_completed(self.server_blob_manager.get_blob(blob_hash))
|
||||||
|
|
||||||
await self.daemon.jsonrpc_file_set_status('start', claim_name='foo')
|
|
||||||
await asyncio.wait_for(self.wait_files_to_complete(), timeout=5)
|
await asyncio.wait_for(self.wait_files_to_complete(), timeout=5)
|
||||||
file_info = (await self.file_list())[0]
|
file_info = (await self.file_list())[0]
|
||||||
self.assertEqual(file_info['blobs_completed'], file_info['blobs_in_stream'])
|
self.assertEqual(file_info['blobs_completed'], file_info['blobs_in_stream'])
|
||||||
|
|
Loading…
Reference in a new issue