Mercurial > hg > orthanc-tests
changeset 736:bf6eef8b6abf find-refactoring tip
fix transfer tests
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 05 Nov 2024 12:12:43 +0100 |
parents | be8f174d3c9d |
children | |
files | NewTests/Concurrency/test_transfer.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/Concurrency/test_transfer.py Thu Oct 24 15:08:59 2024 +0200 +++ b/NewTests/Concurrency/test_transfer.py Tue Nov 05 12:12:43 2024 +0100 @@ -63,7 +63,7 @@ def test_push(self): oa, ob = self.clean_start() - populator = OrthancTestDbPopulator(oa, studies_count=5, random_seed=65) + populator = OrthancTestDbPopulator(oa, studies_count=2, series_count=2, instances_count=200, random_seed=65) populator.execute() all_studies_ids = oa.studies.get_all_ids() @@ -91,7 +91,7 @@ def test_pull(self): oa, ob = self.clean_start() - populator = OrthancTestDbPopulator(ob, studies_count=5, random_seed=65) + populator = OrthancTestDbPopulator(ob, studies_count=2, series_count=2, instances_count=200, random_seed=65) populator.execute() all_studies_ids = ob.studies.get_all_ids() @@ -110,7 +110,6 @@ job = oa.jobs.get(orthanc_id=remote_job.remote_job_id) job.wait_completed(polling_interval=0.1) - self.assertEqual("Success", job.info.status) self.assertEqual(instances_count, oa.get_statistics().instances_count) self.assertEqual(disk_size, oa.get_statistics().total_disk_size) oa.delete_all_content()