diff --git a/swh/deposit/tests/api/test_collection_post_binary.py b/swh/deposit/tests/api/test_collection_post_binary.py --- a/swh/deposit/tests/api/test_collection_post_binary.py +++ b/swh/deposit/tests/api/test_collection_post_binary.py @@ -246,7 +246,7 @@ url = reverse(COL_IRI, args=[deposit_collection.name]) archive = create_arborescence_archive( - tmp_path, "archive2", "file2", b"some content in file", up_to_size=500 + tmp_path, "archive2", "file2", b"some content in file", up_to_size=5000 ) external_id = "some-external-id" diff --git a/swh/deposit/tests/api/test_collection_post_multipart.py b/swh/deposit/tests/api/test_collection_post_multipart.py --- a/swh/deposit/tests/api/test_collection_post_multipart.py +++ b/swh/deposit/tests/api/test_collection_post_multipart.py @@ -368,7 +368,7 @@ archive = { **sample_archive, - "data": sample_archive["data"] * 8, + "data": sample_archive["data"] * 100, } data_atom_entry = atom_dataset["entry-data-deposit-binary"] diff --git a/swh/deposit/tests/api/test_service_document.py b/swh/deposit/tests/api/test_service_document.py --- a/swh/deposit/tests/api/test_service_document.py +++ b/swh/deposit/tests/api/test_service_document.py @@ -78,5 +78,5 @@ """ - % (500, username, username, username, username) + % (5000, username, username, username, username) ) # noqa diff --git a/swh/deposit/tests/conftest.py b/swh/deposit/tests/conftest.py --- a/swh/deposit/tests/conftest.py +++ b/swh/deposit/tests/conftest.py @@ -130,7 +130,7 @@ @pytest.fixture def common_deposit_config(swh_scheduler_config, swh_storage_backend_config): return { - "max_upload_size": 500, + "max_upload_size": 5000, "extraction_dir": "/tmp/swh-deposit/test/extraction-dir", "checks": False, "scheduler": {"cls": "local", **swh_scheduler_config,},