From 71bcecda814365d56f4effb1173a9e13c283e276 Mon Sep 17 00:00:00 2001 From: Jameer Pathan <21165044+jameerpathan111@users.noreply.github.com> Date: Fri, 16 Aug 2024 14:38:18 +0200 Subject: [PATCH] Verify port 8443 is disabled on default capsule installation (#15933) Verify port 8443 is disabled on default capsule installtion --- tests/foreman/installer/test_installer.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index f3968a054aa..33aa3f35ef0 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -209,6 +209,8 @@ def test_capsule_installation(sat_non_default_install, cap_ready_rhel, setting_u :CaseImportance: Critical + :Verifies: SAT-24520 + :BZ: 1984400 :customerscenario: true @@ -260,6 +262,14 @@ def test_capsule_installation(sat_non_default_install, cap_ready_rhel, setting_u result = cap_ready_rhel.cli.Health.check() assert 'FAIL' not in result.stdout + # Verify foreman-proxy-content-reverse-proxy and port 8443 are disabled on default installation + help_result = cap_ready_rhel.execute( + "satellite-installer --full-help | grep foreman-proxy-content-reverse-proxy" + ) + assert "Add reverse proxy to the parent (current: false)" in help_result.stdout + port_result = cap_ready_rhel.execute("ss -tuln | grep 8443") + assert not port_result.stdout + @pytest.mark.e2e @pytest.mark.tier1