From 74bb6f21e42a2c4134edb9361ad417d900d311fa Mon Sep 17 00:00:00 2001 From: vsedmik <46570670+vsedmik@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:44:49 +0100 Subject: [PATCH] Fix failing ISS tests (#14315) (cherry picked from commit 5dab06bf6f7c71f1665da570a998093f2e4f07d6) --- tests/foreman/cli/test_satellitesync.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/foreman/cli/test_satellitesync.py b/tests/foreman/cli/test_satellitesync.py index dd80e98df8f..d8a533242c7 100644 --- a/tests/foreman/cli/test_satellitesync.py +++ b/tests/foreman/cli/test_satellitesync.py @@ -1237,6 +1237,14 @@ def test_negative_import_incomplete_archive( {'organization-id': function_import_org_with_manifest.id, 'path': import_path} ) assert '1 subtask(s) failed' in error.value.message + target_sat.wait_for_tasks( + search_query=( + 'Actions::Katello::ContentView::Remove and ' + f'organization_id = {function_import_org_with_manifest.id}' + ), + max_tries=5, + poll_rate=10, + ) # Verify no content is imported and the import CV can be deleted imported_cv = target_sat.cli.ContentView.info( @@ -1579,6 +1587,7 @@ def test_positive_export_rerun_failed_import( assert len(importing_cvv) == 1 @pytest.mark.tier3 + @pytest.mark.skip_if_open("BZ:2262379") def test_postive_export_import_ansible_collection_repo( self, target_sat,