Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds test for re-import after broken import-attempt. #969

Merged
merged 1 commit into from Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -342,6 +342,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