Skip to content

Commit

Permalink
Adds test for re-import after broken import-attempt.
Browse files Browse the repository at this point in the history
Tests the support added to fix pulp/pulpcore#3737

[noissue]
  • Loading branch information
ggainey committed Aug 3, 2023
1 parent 6e13d60 commit 7d1e048
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -340,6 +340,10 @@ def test_chunked_import(
repo = file_repository_api_client.read(repo.pulp_href)
assert f"{repo.pulp_href}versions/1/" == repo.latest_version_href

# We should be able to import a second time, even though the chunks have now been reassembled.
task_group = perform_import(importer, chunked=True)
assert (len(import_repos) + 1) == task_group.completed


@pytest.mark.parallel
def test_import_check_valid_path(created_export, importers_pulp_imports_check_api_client):
Expand Down

0 comments on commit 7d1e048

Please sign in to comment.