From 1ddc7ddda39d5b25fc88b6eaa50a2a5a4d1d7544 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sun, 7 Nov 2021 04:22:38 -0300 Subject: [PATCH] with the fix we no longer need to restart the stream --- tests/integration/datanetwork/test_file_commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/integration/datanetwork/test_file_commands.py b/tests/integration/datanetwork/test_file_commands.py index 0706b8e77..8edd2cc6a 100644 --- a/tests/integration/datanetwork/test_file_commands.py +++ b/tests/integration/datanetwork/test_file_commands.py @@ -365,7 +365,6 @@ class FileCommands(CommandTestCase): self.assertNotIn('error', resp) self.assertItemCount(await self.daemon.jsonrpc_file_list(), 1) self.assertEqual('running', (await self.file_list())[0]['status']) - await self.daemon.jsonrpc_file_set_status('stop', claim_name='foo') # recover blobs for blob_hash in all_except_sd_and_head: @@ -374,7 +373,6 @@ class FileCommands(CommandTestCase): self.server_blob_manager.blobs.clear() 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) file_info = (await self.file_list())[0] self.assertEqual(file_info['blobs_completed'], file_info['blobs_in_stream'])