Skip to content

Commit

Permalink
Skip /var/log/foreman-proxy/ log assertion for capsule installation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jameerpathan111 authored Dec 6, 2024
1 parent 06c9b26 commit b8890f9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/foreman/installer/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,10 @@ def test_capsule_installation(
# no errors/failures in /var/log/httpd/*
result = cap_ready_rhel.execute(r'grep -iR "error" /var/log/httpd/*')
assert len(result.stdout) == 0
# no errors/failures in /var/log/foreman-proxy/*
result = cap_ready_rhel.execute(r'grep -iR "error" /var/log/foreman-proxy/*')
assert len(result.stdout) == 0
if not is_open('SAT-29982'):
# no errors/failures in /var/log/foreman-proxy/*
result = cap_ready_rhel.execute(r'grep -iR "error" /var/log/foreman-proxy/*')
assert len(result.stdout) == 0

# Enabling firewall
cap_ready_rhel.execute('firewall-cmd --add-service RH-Satellite-6-capsule')
Expand Down

0 comments on commit b8890f9

Please sign in to comment.