From 7d1cdf6acdfd1cb5ff2e025348be0d9d40ba3a01 Mon Sep 17 00:00:00 2001 From: David Moore <109112035+damoore044@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:59:35 -0500 Subject: [PATCH] Intermittent failure of api::errata::e2e (#13197) Intermittent failure of e2e api param --- tests/foreman/api/test_errata.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/foreman/api/test_errata.py b/tests/foreman/api/test_errata.py index 9a0f68c84ad..bb545dda858 100644 --- a/tests/foreman/api/test_errata.py +++ b/tests/foreman/api/test_errata.py @@ -224,8 +224,11 @@ def test_positive_install_multiple_in_host(target_sat, rhel_contenthost, module_ search_rate=20, max_tries=15, ) + rhel_contenthost.execute('subscription-manager repos') sleep(20) - assert rhel_contenthost.applicable_errata_count == pre_errata_count - 1 + assert ( + rhel_contenthost.applicable_errata_count == pre_errata_count - 1 + ), f'Host applicable errata did not decrease by one, after installation of {errata}' @pytest.mark.tier3