From 39716b06bfbe6af5c0b4f541b1f0c6049aa75e93 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 12 Nov 2024 11:22:00 +0100 Subject: [PATCH] assert fapolicyd is running after setup finished (#16895) (cherry picked from commit 04e6b7b3cf61977cec8b754f30c6e3081f651222) --- tests/foreman/installer/test_installer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index 3dca1e380c..2708412388 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -165,6 +165,7 @@ def install_satellite(satellite, installer_args, enable_fapolicyd=False): if enable_fapolicyd: assert satellite.execute('rpm -q foreman-fapolicyd').status == 0 assert satellite.execute('rpm -q foreman-proxy-fapolicyd').status == 0 + assert satellite.execute('systemctl is-active fapolicyd').status == 0 # Configure Satellite firewall to open communication satellite.execute( 'firewall-cmd --permanent --add-service RH-Satellite-6 && firewall-cmd --reload'