forked from LBRYCommunity/lbry-sdk
verify all blobs got transferred
This commit is contained in:
parent
0a068011d8
commit
8108aa39c1
1 changed files with 2 additions and 0 deletions
|
@ -97,4 +97,6 @@ class TestStreamDownloader(BlobExchangeTestBase):
|
||||||
self.transport.write(bytes([byte]))
|
self.transport.write(bytes([byte]))
|
||||||
self.server.server_protocol_class = ChunkedServerProtocol
|
self.server.server_protocol_class = ChunkedServerProtocol
|
||||||
self.server.start_server(33333, '127.0.0.1')
|
self.server.start_server(33333, '127.0.0.1')
|
||||||
|
self.assertEqual(0, len(self.client_blob_manager.completed_blob_hashes))
|
||||||
await self._test_transfer_stream(10)
|
await self._test_transfer_stream(10)
|
||||||
|
self.assertEqual(11, len(self.client_blob_manager.completed_blob_hashes))
|
||||||
|
|
Loading…
Reference in a new issue